Skip to main content

Installation

@repo/components is an internal monorepo package. No npm install is needed -- it is resolved automatically by pnpm workspaces.

Import

import { Button, Card, Header } from '@repo/components'

All components are imported from a single entry point: @repo/components.

Foundation

The UI primitives (Button, Dialog, Card, etc.) are built on shadcn-svelte and Bits UI. Styling uses Tailwind CSS and tailwind-variants (tv()).

Prerequisites

Your consuming app must have:

  • Tailwind CSS configured
  • CSS variables for the design tokens (--primary, --destructive, etc.) defined in your app.css