A modern, responsive dashboard interface built with Next.js 14, TypeScript, and Shadcn/UI components.
-
Responsive Sidebar
- Collapsible states (expanded/collapsed)
- Mobile-friendly with touch support
- Keyboard shortcut (Cmd/Ctrl + B to toggle)
- Cookie persistence for sidebar state
- Tooltip support for collapsed state
- Multiple variants (sidebar, floating, inset)
-
Modern UI Components
- Built with Shadcn/UI
- Dark mode support
- Custom color schemes
- Tailwind CSS styling
-
Technical Stack
- Next.js 14.1.0
- TypeScript
- Tailwind CSS
- Shadcn/UI Components
- Radix UI Primitives
- Clone the repository:
git clone https://github.com/CREWorx/rm-ui.git
cd rm-ui
- Install dependencies:
npm install
- Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
/src/components/ui/
- UI components including the sidebar/src/hooks/
- Custom React hooks/src/lib/
- Utility functions and shared code/src/app/
- Next.js app router pages and layouts
The sidebar component supports multiple variants and configurations:
<Sidebar
variant="default" // 'default' | 'floating' | 'inset'
defaultOpen={true}
// ... other props
>
{/* Your sidebar content */}
</Sidebar>
Colors and themes can be customized in:
tailwind.config.js
- Tailwind configurationglobals.css
- CSS variables and global styles