StructuredList
A component used to display collections of data in a consistent manner.
Props
StructuredList
Prop | Type | Default | Description |
---|
colorScheme | "whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram" | "primary" | "secondary" | "indigo" | | The visual color appearance of the component |
items | StructuredListItemProps[] | | An array of list items |
size | "sm" | "md" | md | The size of the StructuredList |
variant | string | | The variant of the StructuredList |
StructuredListItem
Prop | Type | Default | Description |
---|
href | string | object | | |
isDisabled | boolean | | |
onClick | (e: MouseEvent<Element, MouseEvent>) => void | | |
StructuredListIcon
Prop | Type | Default | Description |
---|
size | ResponsiveValue<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "-moz-fit-content" | "-moz-max-content" | "-moz-min-content" | ... 62 more ... | "container.2xl"> | 5 | The icon size |
spacing | ResponsiveValue<number | "px" | (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "auto" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | ... 54 more ... | "-3.5"> | | The icon spacing, ltr supported |
StructuredListCell
Was this helpful?