Button

Three variants (primary, secondary, ghost) in three sizes, with focus ring and press feedback.

actionform

Usage

Drop the file into your project and import it. There is no package to install.

usage.tsx
import { Button } from "@/registry/components/button";

export function Example() {
  return <Button />;
}

Install prerequisites

Every component here relies only on Tailwind and the cn helper from shadcn/ui.

terminal
npm i clsx tailwind-merge

More in Libraries