Basic usage

import { Card } from '@houzz/ui';

Props

Card
System Props

  • COMMON
  • TYPOGRAPHY
  • BORDER
  • LAYOUT
  • POSITION
  • FLEX
  • GRID
  • Learn More
NameTypeDescription
gradientResponsiveValue<TLengthStyledSystem, Required<Theme<TLengthStyledSystem>>>-
variant"stroke" | "primary" | "tint"-
withHoverbooleanAdd hover effect if true
cardType"stroke" | "primary" | "tint"@deprecated

Accessibility

  • While Card provides a hover effect via withHover, please ensure that the Card is focusable if there is an associated action. If the action is nested within the card, set withHover to false