Vue 3 UI components built with Tailwind CSS
MarkasUI components for Vue are single-file components written with <script setup> and TypeScript. They use v-model for two-way values, useId for stable ids, and the same Tailwind classes as every other framework.
Install
Run init once in the project root. The CLI detects the framework, saves markas.css, and writes markas.json. Then add components by name.
npx markasui@latest init
npx markasui@latest add button modalUsage
src/components/markas
<script setup lang="ts">
import Button from "@/components/markas/Button.vue";
</script>
<template>
<Button variant="secondary">Cancel</Button>
</template>How the components are built
- The CLI detects Vite or Nuxt and writes files to src/components/markas (components/markas on Nuxt).
- Native attributes such as type and aria-* fall through to the main element, so forms and labels behave as in plain HTML.
- No dependencies beyond Vue. Each component stays under 3 KB of gzipped JS.
106 components
Every link opens the component page with the Vue code selected.
MarkasUI21
- Bottom NavigationMobile app style bottom bar. A pill glides to the selected item, its label rises in, and the bar can shrink to icons while content scrolls.
- Card StackLayered stack of cards. Swipe, arrow keys, or buttons throw the top card away and the next one rises. Loops, with a position indicator.
- Chat MessageMessage in an AI conversation. User bubbles on the right, assistant replies with an avatar, hover actions, a typing indicator, and optional token streaming.
- Currency InputMoney field that formats as you type (Rp 12.500.000), keeps the caret in place, and posts the plain number. Optional quick amount chips.
- DockmacOS style dock. Icons grow smoothly toward the pointer or focus, show a label above, mark open items with a dot, and bounce on launch.
- Drag ElementsArea of cards or stickers you can drag around with light momentum, kept inside its bounds. Arrow keys move a focused item, Escape puts it back.
- Dynamic IslandBlack pill inspired by the iPhone Dynamic Island. It morphs smoothly between idle, compact, and expanded states while its content crossfades.
- Elastic LineSVG line that bends toward, away from, or with the pointer when it comes close, then springs back. Works as a divider or a heading underline.
- Expandable CardCompact card that grows into a centered detail view built on a native dialog, then shrinks back into place on close.
- File DropzoneDrag and drop upload area on a native file input. Checks type, size, and count per file, lists files with icons, sizes, progress, and remove.
- FloatWrapper that makes its children drift, bob, orbit, or breathe on their own loops, with optional pointer parallax and a staggered entrance.
- Image CompareBefore and after view with a divider you drag, click, or move with the keyboard. Horizontal or vertical, and it takes any content, including img.
- Image TrailArea where images, cards, or emoji pop up along the pointer path and fade, scale, spin, or pile up. Can draw its own trail while on screen.
- MagnetWrapper that pulls its content toward a nearby mouse, or pushes it away, then springs back. Inner layers can travel further for depth.
- Pinned ListList where any row can be pinned. Pinned rows glide into a Pinned group at the top with a FLIP animation and glide back when unpinned.
- Pixel TrailGrid of small cells that light up under the pointer and fade out, drawn on one canvas. Keyboard focus lights the cells around the focused element.
- Prompt InputAI chat composer. The field grows as you type, files attach as chips, Enter sends and Shift+Enter breaks a line, and the send button turns into stop.
- ScreensaverArea where one or more elements bounce off the walls like an old DVD screensaver, switching color tokens or squashing on each hit.
- Stacking CardsCards that stick and pile up as you scroll, while the covered ones shrink, fan out, or blur. A card with keyboard focus comes back to the front.
- Theme ToggleLight and dark theme switch with six distinct icon animations: rotate, morph, flip, slide, eclipse, and spring.
- Tilt CardCard that tilts in 3D toward the pointer with a moving glare and optional parallax layers, then eases back. Lifts on keyboard focus.
Form13
- ButtonButton with primary, secondary, ghost, and danger variants.
- CheckboxNative checkbox with an optional label and description, custom styled without JavaScript.
- ComboboxText input with a filtered suggestion list in a popover, following the WAI-ARIA Combobox pattern with list autocomplete.
- InputText field with a label, hint, and error message wired up through ARIA.
- Input OTPOne-time code input split into single-digit boxes, with auto advance, paste support, and one hidden field for form submit.
- LabelForm label with consistent styling and optional required or optional markers that screen readers announce correctly.
- Radio GroupGroup of native radios inside a fieldset and legend for picking one of several options.
- SelectDropdown built on a styled native select, with a label, hint, and error message.
- SliderRange slider built on a native input type range, with a primary fill, a round thumb, and the current value shown next to the label.
- SwitchOn/off toggle built on a native checkbox with role switch, no JavaScript needed in Blade.
- TextareaMulti-line text field with a label, hint, and error message linked through ARIA.
- ToggleTwo-state button with aria-pressed for options like bold or bookmark, in default and outline variants and three sizes.
- Toggle GroupSegmented group of toggle buttons with single or multiple selection and arrow key navigation between items.
Feedback5
- AlertIn-page message for important information, with info, success, warning, and danger variants.
- BadgeSmall pill-shaped status label with a colored dot for neutral, primary, success, warning, and danger.
- ProgressProgress bar built on the native progress element, with a label, percentage, and indeterminate mode.
- SkeletonPulsing placeholder for content that is loading, sized through classes.
- ToastShort notification in the bottom right corner that dismisses itself, triggered with the toast() function or an event.
Overlay9
- Alert DialogModal confirmation built on the native dialog element. It needs an explicit cancel or action choice and never closes on a backdrop click.
- Command PaletteSearchable list of commands in a modal dialog, filtered as you type, with arrow key navigation and an optional Ctrl+K or Cmd+K shortcut.
- Context MenuMenu opened by right-clicking an area or pressing Shift+F10, shown at the pointer through the Popover API with WAI-ARIA Menu keyboard support.
- DrawerFull-height side panel built on the native dialog element, sliding in from the right or left.
- Dropdown MenuAction menu built on the Popover API, with keyboard navigation following the WAI-ARIA Menu Button pattern.
- Hover CardPreview card built on the Popover API, shown when a link is hovered or focused, for profiles, repositories, and other previews.
- ModalModal dialog built on the native dialog element, with focus trapping and a close button.
- PopoverNon-modal floating panel built on the Popover API for small forms and extra details, anchored to a trigger button.
- TooltipShort helper text built on the Popover API, shown when the trigger is hovered or focused.
Navigation10
- AccordionCollapsible sections built on native details and summary, no JavaScript needed.
- BreadcrumbTrail of the current page's location in the site hierarchy, with the current page marked by aria-current.
- CollapsibleA single section that opens and closes, built on native details and summary without JavaScript. Good for show more content.
- FooterSite footer with six layouts: link columns, centered glow, newsletter pill card, giant cropped wordmark, dark glowing call to action, and a floating pill.
- MenubarHorizontal bar of menus like a desktop app, built on the Popover API, with keyboard support following the WAI-ARIA Menubar pattern.
- NavbarSite header with a brand, links, dropdown menus, a sliding hover pill, an actions area, and a mobile menu with collapsible groups.
- Navigation MenuDesktop site navigation with mega menu panels on the Popover API, a sliding active indicator, hover intent, and WAI-ARIA disclosure keyboard support.
- PaginationLink-based page navigation with Previous and Next links and an ellipsis for skipped pages.
- SidebarApp sidebar with grouped links, a sliding active indicator, collapsible sub-items, an icon rail mode, and an off-canvas dialog on narrow layouts.
- TabsTabs for switching between content panels, with WAI-ARIA keyboard navigation.
Data8
- AvatarRound profile photo in three sizes, with name initials as a fallback when the image is empty or fails to load.
- CardCard that groups content with an optional title, description, body, and footer.
- CarouselRow of slides built on CSS scroll snap, with previous and next buttons, optional dots, and arrow key navigation. No autoplay.
- Code BlockMonospace code block with an optional file name, line numbers, and a copy button. Plain text, no syntax highlighting.
- KbdKeycap for keyboard shortcuts using the native kbd element, in two sizes, with key combinations rendered as separate keys.
- Scroll AreaScrollable container with a thin token-styled scrollbar that keyboard users can focus and scroll. No JavaScript.
- SeparatorHorizontal or vertical dividing line, decorative by default, with an optional label in the middle such as "or".
- TableData table built from columns and rows, with optional cell borders, striped rows, compact size, and a footer row. Scrolls horizontally on narrow screens.
Sections3
- FAQReady made FAQ section on native details and summary, with six layouts, optional search, category tabs, and FAQPage JSON-LD.
- Logo cloud"Trusted by" section with customer logos in five layouts: row, grid, CSS marquee, quote cards, and stats.
- Not FoundReady-made 404 and error page block with six layouts: minimal, split, search with filterable links, glitch, illustrated, and terminal.
Animations13
- Avatar GroupOverlapping stack of avatars that spreads out on hover, shows each name in a tooltip, and collapses extra people into a +N chip.
- Letter SwapText whose letters slide out and back in with a stagger when its link or button is hovered or focused. Forward, ping-pong, or shuffled order.
- MarqueeEndless horizontal or vertical scroll of any content, with faded edges, reverse direction, and a pause on hover or focus.
- Number TickerNumber that counts up to its value when it scrolls into view, with thousands separators, decimals, and a prefix or suffix.
- Scroll ProgressThin bar at the top of the page or a scrolling container that fills as the reader scrolls.
- Spotlight CardCard with a soft radial light that follows the pointer and a border that glows near it. Lights up on keyboard focus too.
- Text HighlighterA highlight that draws behind inline text from four directions: in view, on hover or focus, on mount, or on command. Solid, marker, underline, or gradient.
- Text RotateWords or phrases that take turns, animating out and in per letter or per word with a stagger from the first, last, center, or a shuffled unit.
- Text ScrambleText that scrambles into random characters, then decodes letter by letter. Runs on hover, when it scrolls into view, or on mount.
- Typing TextText that types, pauses, and deletes words from a list in turn, with a blinking cursor. Pauses when off screen.
- Underline LinkA link with an animated underline in five styles, including a hand drawn scribble. Shows on hover, on keyboard focus, and for the current page.
- Variable Weight TextText whose letters get bolder as the cursor gets closer, using the wght axis of a variable font. Optional wave that breathes when idle.
- Vertical Cut RevealText that rises from behind a cut line per letter, word, or line when it scrolls into view. Made for hero headings.
Backgrounds18
- Aurora BackgroundSoft glowing color fields that drift slowly behind your content, made from primary and an accent token.
- Background BeamsThin curved light beams that flow, pulse, or fall and splash behind your content. Pure SVG and CSS, no JavaScript.
- Background BoxesA skewed, flat, or perspective grid of tiles that light up under the cursor and fade back, using only CSS hover.
- Background LinesSVG lines that draw in and fade out one after another, as waves, rays from a point, or a lattice. Made for hero sections.
- Dot PatternA grid of small dots behind your content, with an optional radial or linear fade. Pure CSS, no JavaScript.
- Gradient BorderWraps a card, button, or field in a moving gradient border that spins, shines, or pulses, with an optional soft glow.
- Grid PatternThin grid lines behind your content, with highlighted cells that pulse softly and an optional fade.
- Hero HighlightDot or line grid that lights up around the pointer, plus mark text whose highlight draws from left to right when it scrolls into view.
- Lamp EffectSpotlight that shines down on your content: two cones of light widen from a bright line when the section scrolls into view.
- MeteorsDiagonal meteors with fading gradient tails that streak across a card or section, placed from a fixed seed.
- Noise BackgroundA static grain, film, or paper texture over a soft token gradient that drifts slowly. Pure CSS with one inline SVG noise tile.
- Retro GridA 3D perspective grid floor that scrolls toward the viewer, for bold hero and launch sections.
- Ripple BackgroundConcentric circles that pulse outward from the center, great behind a logo, avatar, or status icon.
- Shooting StarsA twinkling star field with a shooting star streaking across every few seconds. Night or warm dawn sky, all from token colors.
- SparklesSmall four point stars and dots that glint in and out across an area, around a heading, or burst from the center on hover.
- Spotlight BeamA large, tilted beam of light that sweeps in once when the section scrolls into view, and can lean toward the pointer.
- Stars BackgroundA field of twinkling stars placed from a fixed seed, so every render looks the same. Best in dark mode.
- Wavy BackgroundLayers of soft token-colored waves that drift sideways behind your content, as filled ocean waves, thin silk lines, or stacked bands.
Buttons6
- Copy ButtonCopies a string to the clipboard. The copy icon turns into an animated check mark and a live region says Copied.
- Flip ButtonButton that flips like a card on hover and keyboard focus to reveal a second line on the back.
- GitHub Stars ButtonLink to a GitHub repository with the GitHub mark and a star count that counts up when it scrolls into view. No fetch.
- Hold ButtonPress-and-hold button for risky actions. A fill tracks progress, releasing early cancels, and a complete event fires.
- Ripple ButtonButton that sends a ripple out from the click point, or from the center when pressed with the keyboard.
- Shimmer ButtonButton with a soft sheen that sweeps across it on a loop. The loop pauses off screen and stops with reduced motion.
Templates and pages
Full pages built from the same components, with Vue source you can copy.
- Workflow Automation DashboardAlurAlur is a workflow automation dashboard for SaaS products, operations teams, and agencies: organize workflows in folders, start from templates, connect tools, and manage alerts, a knowledge base, and settings in one workspace.
- Industrial Supplier WebsiteBahteraBahtera is a company profile website for manufacturers, oil and gas suppliers, and industrial distributors: present product lines and an equipment catalogue, explain the sourcing process, show certifications and project references, and collect quotation requests.
- Online Course Landing PageBelajarBelajar is a landing page for online course platforms, e-learning products, and bootcamps: present the course catalog and mentors, share graduate stories, compare membership plans, and collect sign-ups for a free lesson.
- Productivity App Landing PageCatatanCatatan is a landing page for SaaS startups and productivity apps: walk visitors through the product feature by feature, share user stories, compare monthly or yearly pricing, answer questions, and collect email sign-ups.
- Creative Marketplace Landing PageGaleriGaleri is a landing page for art marketplaces, galleries, and creator communities: showcase featured works and artists, browse by medium, explain how buying works, compare plans, and grow a weekly newsletter.
- Inventory & Warehouse DashboardGudangGudang is an inventory and warehouse dashboard for distributors, retail chains, and small businesses: switch between warehouses, track stock value and reorder points, manage products, record stock movements, receive purchase orders, move shipments from picking to delivered, and review suppliers, reports, and settings.
- Fleet Management SaaS Landing PageHaluanHaluan is a landing page for maritime software, shipping lines, and port operators: show a live fleet dashboard, explain tracking, fuel, maintenance, and crew modules, share a customer result, and collect demo requests.
- Product Designer PortfolioKaryaKarya is a portfolio for product designers and UI/UX freelancers: present case studies with project details, show interactive design experiments, list your experience, and let clients reach you through a contact form.
- Agency CRM DashboardKiranaKirana is a CRM dashboard for agencies, consultants, startups, and finance teams: track clients and deals through a funnel, plan tasks on a calendar, manage invoices and growth, and keep projects and contacts in one place.
- Telecom & ISP Landing PageKonekKonek is a landing page for mobile operators, internet providers, and mobile apps: compare prepaid, postpaid, and home internet plans, let visitors check coverage in their city, answer questions, and promote careers.
- E-commerce Store DashboardLarisaLarisa is a store dashboard for online shops, retail, UMKM, and F&B businesses: track sales and best sellers, read traffic and funnel analytics, segment customers, answer messages and reviews, and connect sales channels.
- Electronics Store Landing PageLintangLintang is a landing page for electronics retailers, gadget stores, and authorised resellers: show devices by category, compare options in a quick view, explain delivery and after-sales service, and connect buyers with a consultant.
- B2B Sales CRMLumenLumen is a sales CRM for B2B sales teams, distributors, and logistics companies: move deals through a pipeline, keep customer profiles, follow up on invoices, hit monthly targets, and plan projects, meetings, and reports.
- AI Analytics SaaS Landing PageNalarNalar is a landing page for AI startups, data and analytics SaaS, and developer tools: show a live product dashboard, explain insights, alerts, and workflows, walk through the CLI, compare plans, and collect early access sign-ups.
- Online Marketplace StorefrontPasarlokaPasarloka is a storefront for online stores, marketplaces, retail chains, and UMKM sellers: browse categories, run a flash deal with a live countdown, add products to a cart and wishlist, and invite small businesses to open a shop.
- Artisan Bakery Landing PagePawon RagiPawon Ragi is a landing page for bakeries, cafes, F&B UMKM, and home food businesses: show the menu by category, let customers fill a basket and order on WhatsApp, tell the story behind the kitchen, and grow a mailing list.
- Lead & Call Center CRMPipelinePipeline is a lead and call center CRM for property agents, insurance teams, and telesales: sort new leads by interest, schedule follow-ups, handle calls from a live call panel, and move every lead through the pipeline.
- Consulting Firm WebsitePranataPranata is a website for business consulting, financial advisory, and law firms: present services and practice areas by industry, back them with case studies and client testimonials, and turn visitors into consultation requests.
- Error & Maintenance PagesRambuRambu is a set of error and maintenance pages for Laravel apps, SaaS products, and government services: 404, 403, 419, 429, 500, 503, and offline pages that explain what happened and give visitors a clear next step.
- DevRel and B2B Growth Agency Landing PageRelasiRelasi is a landing page for developer-tool companies, API platforms, and B2B SaaS marketing teams: show DevRel results with pipeline numbers, explain services and process, present case studies and the team, and book strategy calls.
- Clinic Management DashboardSehatiSehati is a clinic management dashboard for clinics, dental practices, and small hospitals: run the queue board with a live queue panel, book and reschedule appointments on the week grid, open patient records with visits, vitals, and allergies, manage the doctor roster, dispense prescriptions and watch stock, track BPJS and private invoices in Rupiah, and set clinic hours.
- HR & Payroll DashboardSigapSigap is an HR, attendance, and payroll dashboard for Indonesian companies: today's headcount and attendance trend, a searchable employee directory, per-shift clock in and out with corrections, leave approvals with balances, a monthly payroll run with BPJS and PPh 21 payslips, a recruitment board, and company settings.
- Playful Creative PortfolioStudioStudio is a playful portfolio for students, illustrators, and junior creatives: introduce yourself and your skills, filter case studies by type, show side projects, and receive messages through a validated contact form.
- Focus App Landing PageTeduhTeduh is a landing page for productivity apps, digital wellbeing startups, and tools for remote teams: explain how it works, show features and an app preview, share user stories, compare plans, and grow a waitlist.
- B2B SaaS Landing PageTenderTender is a landing page for B2B SaaS that serves contractors, procurement teams, and government vendors: explain the path to a ready bid, show features by sector, compare plans, answer questions, and start free trials.
- Savings and Investing Landing PageTunasTunas is a landing page for fintech apps, banks and BPR, cooperatives, and investment platforms: explain savings and investment products, let visitors project their savings with a live simulator, show security and licensing, and drive app sign-ups.