Measured entry

shadcn-block-sidebar-01

sidebarminimal-flat

A documentation-style sidebar block shipped as copied React and TypeScript source through the shadcn registry. It includes grouped navigation, search, a version dropdown, breadcrumbs, a collapsible rail, and a content shell. It depends on the shadcn sidebar and supporting primitives, Tailwind theme conventions, Radix UI, class-variance-authority, and Lucide icons.

Specimen
Harness screenshot of shadcn-block-sidebar-01 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-block-sidebar-01 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of shadcn-block-sidebar-01 at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for shadcn-block-sidebar-01
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate2
Axe minor0
Gzip marginal66.9 KB (132.3 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usednone

What the harness recorded

BARE BUILD

✗ Build failed in 24.91s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/separator.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A credible starting shell for docs and admin layouts, with clean responsive behavior and no runtime failure in the configured harness. It needs a shadcn-style setup and an accessibility pass to remove the duplicate, nested main landmark before production use.

Use it if

  • You need a documentation or settings shell with grouped, persistent navigation.
  • Your app already uses shadcn primitives, Tailwind theme tokens, and path aliases.
  • You want responsive sidebar behavior with a compact mobile trigger and collapsible rail.

Skip it if

  • You need a drop-in package for a plain React project with no shadcn infrastructure.
  • Your page already defines its main landmark and you cannot adjust the block's content shell to avoid duplicate or nested main landmarks.
  • You want application-specific navigation logic rather than replacing static sample links and version data.

Install

Installation record for shadcn-block-sidebar-01
Declared dependenciesradix-ui, class-variance-authority, lucide-react
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

For a non-shadcn project, add Tailwind and the shadcn theme variables, configure the at-sign source alias, provide the shared class-name utility, copy the sidebar, breadcrumb, separator, label, and dropdown-menu primitives, and install Radix UI, class-variance-authority, and Lucide React. Reconcile the block's main landmark with the host layout.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

Author repository

github.com/shadcn-ui/ui
License
MIT
Record published
2026-08-13

Alternatives

Other published entries for the sidebar pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.