mirror of
https://github.com/zooai/design.git
synced 2026-10-30 14:50:04 +00:00
Monochrome, dark by default. One hue rendered through an opacity ladder. Tokens (color, type, spacing, radius, elevation, motion) + core/forms/navigation/ overlays components + brand guidelines + ui kit. The single source of truth for every Zoo surface — loadable and editable.
11 lines
367 B
TypeScript
11 lines
367 B
TypeScript
/** Square 16px checkbox; checked state is a white fill with a black tick. */
|
|
export interface CheckboxProps {
|
|
checked?: boolean;
|
|
defaultChecked?: boolean;
|
|
onChange?: (checked: boolean) => void;
|
|
disabled?: boolean;
|
|
/** Optional inline label rendered to the right. */
|
|
label?: React.ReactNode;
|
|
}
|
|
export function Checkbox(props: CheckboxProps): JSX.Element;
|