mirror of
https://github.com/hanzoai/design.git
synced 2026-10-30 14:58:37 +00:00
The single source of truth for every Hanzo surface: monochrome opacity-ladder tokens (dark-default), self-contained core/forms/overlays/navigation components (each with .d.ts + .prompt.md), the mark/wordmark + provider/partner logos, and the specimen-card guidelines. One import: @hanzoai/design/styles.css.
10 lines
579 B
TypeScript
10 lines
579 B
TypeScript
/** 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;
|