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.
12 lines
506 B
TypeScript
12 lines
506 B
TypeScript
/** Hairline-divided disclosure list. The FAQ pattern on pricing and download pages. */
|
|
export interface AccordionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
type?: 'single' | 'multiple';
|
|
defaultValue?: string | string[] | null;
|
|
}
|
|
export function Accordion(props: AccordionProps): JSX.Element;
|
|
export interface AccordionItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
value: string;
|
|
title: React.ReactNode;
|
|
}
|
|
export function AccordionItem(props: AccordionItemProps): JSX.Element;
|