Free, open-source sidebar component for Next.js
Built on top of shadcn/ui with Tailwind CSS
Responsive design for desktop and mobile
Features collapsible menus and customizable layouts
MIT-licensed with community engagement
shadcn-ui-sidebar is a free, open-source retractable sidebar component developed by Salimi, designed to enhance navigation in Next.js applications. Its primary goal is to provide developers with a stunning, functional, and responsive sidebar that integrates seamlessly with shadcn/ui, targeting those building modern web applications with React and Next.js.
The component offers a retractable design with mini and wide layouts, scrollable menus, and a dedicated sheet menu for mobile users. It leverages shadcn/ui’s foundation, combining Tailwind CSS for styling and Radix UI for accessibility, ensuring a polished and user-friendly navigation experience.
Retractable Design: Switch between mini and wide sidebar layouts for flexible navigation.
Responsive Layout: Adapts seamlessly to desktop and mobile with a sheet menu for smaller screens.
Collapsible Menus: Organize complex menu structures with collapsible submenus.
Scrollable Menus: Navigate long lists of menu items efficiently.
Grouped Navigation: Categorize menu items with labels for better organization.
Customizable: Extracted menu items list allows easy modification of navigation structure.
Responsive Design: Works flawlessly on both desktop and mobile devices.
Free and Open-Source: MIT license allows unrestricted use and modification.
Modern Stack: Built with shadcn/ui, Tailwind CSS, and Radix UI for accessibility.
Community Engagement: 1.5k GitHub stars and active contributions from developers.
Efficient Navigation: Collapsible and scrollable menus improve user experience.
Next.js Dependency: Designed specifically for Next.js, limiting use in other frameworks.
Learning Curve: Requires familiarity with shadcn/ui and its ecosystem.
Limited Documentation: Some users on GitHub report gaps in setup instructions.
Mobile Tooltip Issue: Profile tooltips on small screens need fixes, per GitHub issues.
shadcn-ui-sidebar provides a sidebar component with supporting elements:
AdminPanelLayout: Main layout component in components/admin-panel/ for sidebar integration.
ContentLayout: Wraps page content with a title in components/admin-panel/.
Menu Items: Extracted list in components/admin-panel/ for easy customization.
Registry File: JSON config in public/registry/ for shadcn/ui installation.
shadcn-ui-sidebar operates on a Free model:
Free Access: Fully open-source under the MIT license, with no cost to use or modify.
shadcn-ui-sidebar integrates with:
Next.js: Built for Next.js (v14.2.3) for seamless integration.
shadcn/ui: Extends shadcn/ui components for consistency and accessibility.
Tailwind CSS: Uses Tailwind (v3.4.1) for utility-first styling.
Radix UI: Incorporates components like Avatar, Collapsible, and Dialog for accessibility.
Zustand: State management for sidebar functionality.
shadcn-ui-sidebar is a free retractable sidebar component for Next.js, built on shadcn/ui and styled with Tailwind CSS for responsive, utility-first design.
Yes, it’s fully free and open-source under the MIT license.
It’s designed for Next.js; using it with other frameworks would require significant rework.
Yes, it includes a responsive sheet menu for mobile users.
A Retractable shadcn/ui Sidebar for Next.js
Next.js Starter Kit with TypeScript, Shadcn, Tailwind & Supabase.
Submit your Tailwind CSS product to All UtilityCSS, get featured, and drive genuine traffic while showcasing your work to the world. Turn your creativity into revenue and begin selling today! 🚀