mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
Upstream sync from shadcn-ui/ui (1686 commits since last merge base). Key changes: - packages/shadcn upgraded to 4.1.0 (CLI font transformers, scaffold from github, chart colors) - apps/v4 replaces apps/www as the primary docs/registry app - Font system: 25+ heading font registries, font markers utility, @supports override - Chart improvements: recharts v3 compat, radial chart fixes - templates/ updated with monorepo variants (astro, vite, react-router, start) - skills/shadcn AI skill definitions added - deprecated/ removed (auth, auth-firebase, cli, www) Preserved Hanzo-only paths: app/, pkg/, demo/, docs/, template/next/
50 lines
1.5 KiB
TypeScript
50 lines
1.5 KiB
TypeScript
import { Button } from "@/examples/base/ui/button"
|
|
import {
|
|
Card,
|
|
CardContent,
|
|
CardDescription,
|
|
CardFooter,
|
|
CardHeader,
|
|
CardTitle,
|
|
} from "@/examples/base/ui/card"
|
|
import { ChevronRightIcon } from "lucide-react"
|
|
|
|
export function CardSmall() {
|
|
const featureName = "Scheduled reports"
|
|
|
|
return (
|
|
<Card size="sm" className="mx-auto w-full max-w-xs">
|
|
<CardHeader>
|
|
<CardTitle>{featureName}</CardTitle>
|
|
<CardDescription>
|
|
Weekly snapshots. No more manual exports.
|
|
</CardDescription>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<ul className="grid gap-2 py-2 text-sm">
|
|
<li className="flex gap-2">
|
|
<ChevronRightIcon className="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
|
<span>Choose a schedule (daily, or weekly).</span>
|
|
</li>
|
|
<li className="flex gap-2">
|
|
<ChevronRightIcon className="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
|
<span>Send to channels or specific teammates.</span>
|
|
</li>
|
|
<li className="flex gap-2">
|
|
<ChevronRightIcon className="mt-0.5 size-4 shrink-0 text-muted-foreground" />
|
|
<span>Include charts, tables, and key metrics.</span>
|
|
</li>
|
|
</ul>
|
|
</CardContent>
|
|
<CardFooter className="flex-col gap-2">
|
|
<Button size="sm" className="w-full">
|
|
Set up scheduled reports
|
|
</Button>
|
|
<Button variant="outline" size="sm" className="w-full">
|
|
See what's new
|
|
</Button>
|
|
</CardFooter>
|
|
</Card>
|
|
)
|
|
}
|