shadcn ui sidebar
1.0.0
الشريط الجانبي المذهل والوظيفي القابل للسحب لـ Next.js تم تصميمه فوق Shadcn/UI مع استجابة سطح المكتب والهاتف المحمول.
إذا كنت تستخدم @Shadcn/UI 2.0.0 أو في وقت لاحق ، يمكنك تثبيت المكون مباشرة من السجل.
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 //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 >
) ;
} استنساخ المستودع
git clone https://github.com/salimi-my/shadcn-ui-sidebarتثبيت التبعيات
cd shadcn-ui-sidebar
npm installقم بتشغيل خادم التطوير
npm run dev يتم استضافة التطبيق على Vercel. انقر هنا للزيارة.
الرابط التجريبي المباشر: https://shadcn-ui-sidebar.salimi.my



