Sidebar
Thanh điều hướng ứng dụng đầy đủ tính năng: thu/phóng, chế độ icon, sheet trên mobile, tooltip khi thu gọn, lưu trạng thái qua cookie. Menu item dùng asChild thay vì gắn cứng router.
Cài đặt
npx shadcn@latest add @reno/sidebarDemo
npm dependencies
- @radix-ui/react-slot@^1.3.3
- class-variance-authority@^0.7.1
- lucide-react@^1.38.0
Registry dependencies
- @reno/utils
- @reno/button
- @reno/sheet
- @reno/separator
- @reno/tooltip
- @reno/input
- @reno/skeleton
- @reno/use-mobile