A customizable calendar component with day and mood view toggles, inline mood logging, and smooth state transitions.
Install the npm dependencies this component relies on.
npx shadcn@latest initnpm i motionnpm i lucide-reactBuilt on top of these shadcn/ui primitives — add them first.
npx shadcn@latest add popover selectsrc/lab/experiments/mood-calendar/MoodCalendar.tsxMain calendar component + DayCellsrc/components/ui/popover.tsxshadcn popover primitivesrc/components/ui/select.tsxshadcn select primitiveimport MoodCalendar from "@/src/lab/experiments/mood-calendar/MoodCalendar";
<MoodCalendar />| Name | Type | Description |
|---|---|---|
| — | — | Self-contained — manages its own state internally. No external props required. |