mirror of
https://github.com/luxfi/design.git
synced 2026-10-30 16:58:57 +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 Lux surface — loadable and editable.
10 lines
405 B
TypeScript
10 lines
405 B
TypeScript
/** Dropdown select. Same chrome as Input plus a chevron. */
|
|
export interface SelectOption { value: string; label: string }
|
|
export interface SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'onChange'> {
|
|
options?: (SelectOption | string)[];
|
|
value?: string;
|
|
onChange?: (value: string) => void;
|
|
placeholder?: string;
|
|
}
|
|
export function Select(props: SelectProps): JSX.Element;
|