Skip to content
MarkasUI
Type to search

    Guide

    MarkasUI

    Form

    Feedback

    Overlay

    Navigation

    Data

    Sections

    Animations

    Backgrounds

    Buttons

    Templates

    Pages

    React UI components built with Tailwind CSS

    MarkasUI ships React components as plain .tsx files that the CLI copies into your project. Components without state render as React Server Components; only the interactive ones add "use client", and only where they need state, refs, or event handlers.

    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

    React
    import { Button } from "@/components/markas/Button";
    
    export default function Actions() {
      return <Button variant="secondary">Cancel</Button>;
    }

    How the components are built

    • The CLI detects Next.js or Vite and writes files to src/components/markas (components/markas in a Next.js app without src).
    • Props extend the native element props, so type, aria-*, and className pass straight through. Ids come from useId.
    • No clsx, tailwind-merge, or icon pack. Each component stays under 3 KB of gzipped JS.

    106 components

    Every link opens the component page with the React code selected.

    MarkasUI21

    Animations13

    Backgrounds18

    Templates and pages

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