Button

Versatile button with variants and sizes.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/button.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/button. You can also copy the source into components/ui/button.tsx (view on GitHub).

Usage

import { Button } from '@/components/ui/button'

Dependencies

  • clsx
  • tailwind-merge
  • Badge

    Compact status and label chips.

  • Avatar Stack

    Overlapping avatars that make room: hover or focus one and it lifts while neighbours part on a spring, revealing a frosted name tag with role and presence. The “+N” chip opens a tidy list of…

  • Card

    Composable surface with hairline ring and layered shadow; default, raised, glass and outline variants.

  • Breathing Dot

    Soft pulsating status indicator.

  • Input

    Accessible text field with focus ring.

  • Progress

    Progress bar with semantic tones, sizes, an optional label with tabular percentage, and an indeterminate mode.

See all 18 Core components