mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
* feat: add rhea * fix: blocks * feat: build chat example * fix * fix: sidebar * fix * feat: update home * fix * fix * fix * feat: optimizine fonts * feat * fix * fix * fix * fix * fix * fix * fix: font in preview * fix
53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import { Button } from "@/styles/base-rhea/ui/button"
|
|
import {
|
|
Card,
|
|
CardContent,
|
|
CardDescription,
|
|
CardFooter,
|
|
CardHeader,
|
|
CardTitle,
|
|
} from "@/styles/base-rhea/ui/card"
|
|
import { Field, FieldGroup, FieldLabel } from "@/styles/base-rhea/ui/field"
|
|
import { Input } from "@/styles/base-rhea/ui/input"
|
|
|
|
export function NewMilestone() {
|
|
return (
|
|
<Card>
|
|
<CardHeader>
|
|
<CardTitle>Set a new milestone</CardTitle>
|
|
<CardDescription>
|
|
Define your financial target and we'll help you pace your
|
|
savings.
|
|
</CardDescription>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<FieldGroup>
|
|
<Field>
|
|
<FieldLabel htmlFor="goal-name">Goal Name</FieldLabel>
|
|
<Input
|
|
id="goal-name"
|
|
placeholder="e.g. New Car, Home Downpayment"
|
|
/>
|
|
</Field>
|
|
<div className="grid grid-cols-2 gap-3">
|
|
<Field>
|
|
<FieldLabel htmlFor="target-amount">Target Amount</FieldLabel>
|
|
<Input id="target-amount" defaultValue="$15,000" />
|
|
</Field>
|
|
<Field>
|
|
<FieldLabel htmlFor="target-date">Target Date</FieldLabel>
|
|
<Input id="target-date" defaultValue="Dec 2025" />
|
|
</Field>
|
|
</div>
|
|
</FieldGroup>
|
|
</CardContent>
|
|
<CardFooter className="flex-col gap-2">
|
|
<Button className="w-full">Create Goal</Button>
|
|
<Button variant="outline" className="w-full">
|
|
Cancel
|
|
</Button>
|
|
</CardFooter>
|
|
</Card>
|
|
)
|
|
}
|