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.ReactNode
Required
Content to be displayed in the card bodyhref
string
Required
URL the card links totitle
string
Title displayed at the top of the cardicon
any
Optional icon displayed to the left of the contentkind
"secondary"
Visual style variant of the cardsize
"sm" | "md"
Size variant of the cardclassName
string
Additional CSS class names to apply to the cardas
any
Additional props to pass to the link element
:::guide-card{title="Getting Started" icon="code" href="/guides/quickstart"} Start your journey with our comprehensive quickstart guide. :::
<GuideCard title="Routing Guide" icon="code" href="/guides/routing" > Learn about file-convention and settings-based routing in xyd. </GuideCard>
Built with
Show your support! Star us on GitHub ⭐️