Usage
ContentIcon has three variants: transparent, light and solid. Each variant has color variants according to our color palette and four available sizes.
By default, the circle (dot) icon is displayed. The icon prop can be used to pass an icon name or an Icon component to change the default appearance.
import { ContentIcon } from '@houzz/ui';Size
Use the size prop to select from available size variants.
Color
Use the colorVariant to change color combinations.
Props
ContentIconSystem Props
COMMONTYPOGRAPHYBORDERLAYOUTPOSITIONFLEXGRID- Learn More
| Name | Type | Description |
gradient | ResponsiveValue<TLengthStyledSystem, Required<Theme<TLengthStyledSystem>>> | - |
variant | "transparent" | "solid" | "light" | Style variant, defaults to 'light'. |
colorVariant | "blue" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "teal" | "yellow" | "neutral" | Color variant, defaults to 'neutral'. |
icon | ReactNode | Icon name or component, `circle` (dot) is used by default. |