Property
A component used to show key/value data in a consistent manner.
Props#
PropertyList, Property, PropertyLabel and PropertyValue accept all Box properties.
PropertyList#
| Prop | Type | Default | Description |
|---|---|---|---|
| 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 space between each list item | |
| stylePosition | ResponsiveValue<ListStylePosition> | Shorthand prop for listStylePosition | |
| styleType | ResponsiveValue<ListStyleType> | Shorthand prop for listStyleType |
Property#
| 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 | |
| label | string | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...> | ||
| labelWidth | ResponsiveValue<number | "px" | (string & {}) | "sm" | "md" | "lg" | "xl" | "2xl" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "-moz-fit-content" | "-moz-max-content" | ... 58 more ... | "container.2xl"> | ||
| size | string | The size of the Property | |
| 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"> | ||
| value | string | number | bigint | boolean | ReactElement<any, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...> | ||
| variant | string | The variant of the Property |
Was this helpful?