shadcn-style UI Components
Modern, accessible, and customizable components built with Tailwind CSS and inspired by shadcn/ui.
Buttons
Various button styles and sizes
Variants
Sizes
With Icons
Badges
Status indicators and labels
Cards
Flexible content containers
Simple Card
This is a basic card with header and content
Card content goes here. This is where you would add your main content.
Card with Footer
This card includes a footer with actions
This card demonstrates the full card structure with all sections.
Product Card
Premium Headphones
$299.99
Statistics
Monthly overview
$45,231
Compared to last month
Form Components
Input fields and form elements
Contact Form
Fill out the form below and we'll get back to you
Usage
How to use these components in your pages
Import Components
Import shadcn-style components in your Astro pages
---
import Button from '~/components/ui/shadcn/Button.astro';
import Card from '~/components/ui/shadcn/Card.astro';
import Badge from '~/components/ui/shadcn/Badge.astro';
import Input from '~/components/ui/shadcn/Input.astro';
---
<Card>
<CardHeader>
<CardTitle>Welcome</CardTitle>
</CardHeader>
<CardContent>
<p>Content here</p>
</CardContent>
<CardFooter>
<Button>Action</Button>
</CardFooter>
</Card> Note: This demo page should be removed or moved to src/client/pages/ in production.
The components are ready to use in your client projects.