Skip to content
MarkasUI
Type to search

    Guide

    MarkasUI

    Form

    Feedback

    Overlay

    Navigation

    Data

    Sections

    Animations

    Backgrounds

    Buttons

    Templates

    Pages

    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 modal

    Usage

    src/components/markas

    Vue
    <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

    Animations13

    Backgrounds18

    Templates and pages

    Full pages built from the same components, with Vue source you can copy.