Sidebar 10

New

A scheduling app shell: a month calendar and colour-coded calendar toggles in the sidebar, and the week as a time grid beside it, or as a list on small screens.

Installation

pnpm dlx shadcn@latest add https://kagadmodyaa.vercel.app/r/sidebar-10.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/sidebar-10/page.tsx

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

  • components/sidebar-10/agenda-list.tsx

    A component the page imports. Edit it freely.

  • components/sidebar-10/almanac-data.ts

    A component the page imports. Edit it freely.

  • components/sidebar-10/almanac-sidebar.tsx

    A component the page imports. Edit it freely.

  • components/sidebar-10/almanac.tsx

    A component the page imports. Edit it freely.

  • components/sidebar-10/icons.tsx

    A component the page imports. Edit it freely.

  • components/sidebar-10/week-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, Calendar, Checkbox, Popover, Separator, Sidebar, Toggle Group.

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 Sidebar

See all 12 Sidebar blocks