Calendar 01

New

A month calendar for a household: event chips with a “+N more” popover, the selected day’s events beside the grid, calendar filters, and a form to add an event (dots and an agenda on a phone).

Installation

pnpm dlx shadcn@latest add https://kagadmodyaa.vercel.app/r/calendar-01.json

Needs a React + Tailwind project set up with shadcn. Copies the block's files into your project, along with the components it uses, so you can edit all of it.

Files

What the command adds to your project, and where.

  • app/calendar/page.tsx

    The page itself, at the route it is meant for. Move or rename it to suit your app.

  • components/calendar-01/calendar-data.ts

    A component the page imports. Edit it freely.

  • components/calendar-01/day-panel.tsx

    A component the page imports. Edit it freely.

  • components/calendar-01/event-dialog.tsx

    A component the page imports. Edit it freely.

  • components/calendar-01/hearth-calendar.tsx

    A component the page imports. Edit it freely.

  • components/calendar-01/icons.tsx

    A component the page imports. Edit it freely.

  • components/calendar-01/month-grid.tsx

    A component the page imports. Edit it freely.

It also installs the components it is built from, unless you already have them: Button, Checkbox, Dialog, Input, Label, Popover.

The block uses one accent colour. Installing adds a --brand variable to your global CSS (an existing one is left alone); change it to match your product.

Links, copy and the product name are placeholders; swap in your own. Where a block has a form, its submit handler is a stub for your own request.

More in Calendar