Card
A simplified wrapper for Shadcn Card with flexible option handling and automatic type conversion
Installation
npx shadcn@latest add @glrk-ui/cardIf you haven't set up the prerequisites yet, check out registry setup.
Usage
Basic
import { CardWrapper } from "@/components/ui/card";
export function Basic() {
return (
<CardWrapper
title="Card Title"
description="Card Description"
footer="Card Footer"
>
<p>Card Content</p>
</CardWrapper>
)
}Reference
CardWrapper
Prop
Type