프로젝트
GitHub에서 보기 shadcn/ui sidebar ·
salimi-my/shadcn-ui-sidebar
소개
shadcn/ui를 기반으로 만든 Next.js용 아름답고 실용적인 반응형 접이식 사이드바입니다.
웹 및 앱 개발What you can do
- Retractable mini and wide sidebar
- Scrollable sidebar menu
- Sheet menu for mobile
- Grouped menu with labels
측정된 스타 증가
- in 24h
- 0
- in 7 days
- +3
- in 15 days
- +1
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalshadcn/ui sidebar · 
A stunning and functional retractable sidebar for Next.js built on top of shadcn/ui complete with desktop and mobile responsiveness.
Features
- Retractable mini and wide sidebar
- Scrollable sidebar menu
- Sheet menu for mobile
- Grouped menu with labels
- Collapsible submenu
- Extracted menu items list
Tech/framework used
- Next.js 14
- Shadcn/ui
- Tailwind CSS
- TypeScript
- Zustand
Installation
Custom registry
If you are using @shadcn/ui 2.0.0 or later, you can install the component directly from the registry.
npx shadcn@latest add https://raw.githubusercontent.com/salimi-my/shadcn-ui-sidebar/refs/heads/master/public/registry/shadcn-sidebar.json
or
npx shadcn@latest add https://shadcn-ui-sidebar.salimi.my/registry/shadcn-sidebar.json
Usage example for Nextjs
//layout.tsx
import AdminPanelLayout from "@/components/admin-panel/admin-panel-layout";
export default async function Layout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return <AdminPanelLayout>{children}</AdminPanelLayout>;
}
//page.tsx
import { ContentLayout } from "@/components/admin-panel/content-layout";
export default function Page() {
return (
<ContentLayout title="Test">
<div>Test</div>
</ContentLayout>
);
}
Starting the project locally
Clone the repository
git clone https://github.com/salimi-my/shadcn-ui-sidebarInstall dependencies
cd shadcn-ui-sidebar npm installRun the development server
npm run dev
Demo
The app is hosted on Vercel. Click here to visit.
Direct demo link: https://shadcn-ui-sidebar.salimi.my
Screenshots
Light mode

Dark mode

Mini sidebar

Sheet menu
관련 프로젝트 살펴보기
불러오는 중…