Lambchop
Primitives

Button

Multi-variant button with CVA styling and Radix Slot for asChild composition.

import { Button } from "lambchop";

Live Demo

Usage

import { Button } from "lambchop";

<Button variant="primary" size="md">Get Started</Button>
<Button variant="secondary">Learn More</Button>
<Button variant="ghost">Cancel</Button>

Props

PropTypeDefaultDescription
variant"primary" | "secondary" | "ghost""primary"Visual style variant
size"sm" | "md" | "lg""md"Button size
asChildbooleanfalseRender as child element via Radix Slot
classNamestringAdditional CSS classes

Variants

  • Primary — Gold background, uppercase display font, brand CTA
  • Secondary — Border-2, inverts on hover for strong contrast
  • Ghost — Text-only, subtle hover background