Sidebar 07

New

A sidebar built around one action: a prominent New menu, recent files with times, G-then-letter shortcut hints on every link, and a storage meter above the account menu.

Installation

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

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

  • components/sidebar-07/cellar-data.ts

    A component the page imports. Edit it freely.

  • components/sidebar-07/cellar-sidebar.tsx

    A component the page imports. Edit it freely.

  • components/sidebar-07/cellar.tsx

    A component the page imports. Edit it freely.

  • components/sidebar-07/icons.tsx

    A component the page imports. Edit it freely.

It also installs the components it is built from, unless you already have them: Avatar, Button, Dropdown Menu, Input Group, Kbd, Progress, Separator, Sidebar, Table.

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