List
Primitives for rendering lists of items that can be links or buttons.
ListProps
| Prop | Type | Required | Default | Description |
|---|
children | ReactNode | Yes | — | — |
separators | boolean | — | — | — |
ListItemProps
| Prop | Type | Required | Default | Description |
|---|
children | ReactNode | Yes | — | — |
disabled | boolean | — | — | — |
endElement | ReactNode | — | — | — |
onClick | () => void | — | — | — |
selected | boolean | — | — | — |
startElement | ReactNode | — | — | — |
Also accepts Partial<Omit<LinkComponentProps, 'children'>> |
ItemTextProps
| Prop | Type | Required | Default | Description |
|---|
disabled | boolean | — | — | — |
subText | string | — | — | — |
superText | string | — | — | — |
title | string | Yes | — | — |
tone | cautious|critical
| — | — | — |
RadioListProps
| Prop | Type | Required | Default | Description |
|---|
children | ReactNode | Yes | — | — |
value | string | — | — | — |
Also accepts RadioGroupProps<TValue> |
RadioItemProps
| Prop | Type | Required | Default | Description |
|---|
children | ReactNode | Yes | — | — |
disabled | boolean | — | — | — |
name | string | — | — | — |
onSelectFocusRef | MutableRefObject<HTMLInputElement | null> | — | — | — |
startElement | ReactNode | — | — | — |
value | string | — | — | — |
CheckListProps
| Prop | Type | Required | Default | Description |
|---|
children | ReactNode | Yes | — | — |
CheckItemProps
| Prop | Type | Required | Default | Description |
|---|
children | ReactNode | Yes | — | — |
disabled | boolean | — | — | — |
onSelectFocusRef | MutableRefObject<HTMLInputElement | null> | — | — | — |
startElement | ReactNode | — | — | — |
Also accepts CheckboxProps |