Data List
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
- Status
- Authorized
- ID
u_2J89JSA4GJ- Name
- Vlad Moroz
- vlad@workos.com
- Company
- WorkOS
API Reference
This component is based on the dl element and supports common margin props.
Root
Contains all the parts of the data list.
Item
Wraps a key-value pair.
Label
Contains the key of the key-value pair.
Value
Contains the value of the key-value pair.
Examples
Orientation
Use the orientation prop to change the way the data list is layed-out.
- Name
- Vlad Moroz
- vlad@workos.com
- Company
- WorkOS
Size
Use the size prop to change the size of the data list.
- Name
- Vlad Moroz
- vlad@workos.com
- Company
- WorkOS
- Name
- Vlad Moroz
- vlad@workos.com
- Company
- WorkOS
- Name
- Vlad Moroz
- vlad@workos.com
- Company
- WorkOS
Color
Use the color prop on the Label part to assign a specific color.
- Name
- Indigo
- Name
- Cyan
- Name
- Orange
- Name
- Crimson
High-contrast
Use the highContrast prop increase color contrast with the background.
- Name
- Indigo
- Name
- Cyan
- Name
- Orange
- Name
- Crimson
- Name
- Indigo
- Name
- Cyan
- Name
- Orange
- Name
- Crimson