Skip to content

CREWorx/rm-ui

Repository files navigation

RM-UI: Next.js Dashboard with Shadcn/UI

A modern, responsive dashboard interface built with Next.js 14, TypeScript, and Shadcn/UI components.

Features

  • 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

Getting Started

  1. Clone the repository:
git clone https://github.com/CREWorx/rm-ui.git
cd rm-ui
  1. Install dependencies:
npm install
  1. Run the development server:
npm run dev

Open http://localhost:3000 with your browser to see the result.

Project Structure

  • /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

Customization

Sidebar Configuration

The sidebar component supports multiple variants and configurations:

<Sidebar
  variant="default" // 'default' | 'floating' | 'inset'
  defaultOpen={true}
  // ... other props
>
  {/* Your sidebar content */}
</Sidebar>

Theme Customization

Colors and themes can be customized in:

  • tailwind.config.js - Tailwind configuration
  • globals.css - CSS variables and global styles

Learn More

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published