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

ContentIcon
System Props

  • COMMON
  • TYPOGRAPHY
  • BORDER
  • LAYOUT
  • POSITION
  • FLEX
  • GRID
  • Learn More
NameTypeDescription
gradientResponsiveValue<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'.
iconReactNodeIcon name or component, `circle` (dot) is used by default.