xyd 0.1.0-beta - Coming Soon

/
Components
/
Guide Card

GuideCard

A card component that displays content with a title and optional icon. The entire card is clickable and links to the specified URL.

Examples

Props

  • children
    React.ReactNodeRequired
    Content to be displayed in the card body
  • href
    stringRequired
    URL the card links to
  • title
    string
    Title displayed at the top of the card
  • icon
    React.ReactNode
    Optional icon displayed to the left of the content
  • kind
    "secondary"
    Visual style variant of the card
  • size
    "sm" | "md"
    Size variant of the card
  • className
    string
    Additional CSS class names to apply to the card
  • as
    React.ElementType<any, keyof IntrinsicElements>
    Additional props to pass to the link element
Built with

Show your support! Star us on GitHub ⭐️