mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
10 lines
579 B
Plaintext
10 lines
579 B
Plaintext
/** The Hanzo button. Monochrome: primary is white-on-black, everything else is a hairline or nothing.
|
|
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
/** primary = white fill (the one CTA per view). destructive is the only hued variant. */
|
|
variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'link' | 'destructive';
|
|
size?: 'sm' | 'default' | 'lg' | 'icon';
|
|
/** Fully rounded. Marketing CTAs and nav actions are pills; app-surface buttons are not. */
|
|
pill?: boolean;
|
|
}
|
|
export function Button(props: ButtonProps): JSX.Element;
|