MCPcopy
hub / github.com/satnaing/shadcn-admin

github.com/satnaing/shadcn-admin @v2.2.1 sqlite

repository ↗ · DeepWiki ↗ · release v2.2.1 ↗
379 symbols 1,186 edges 212 files 0 documented · 0%
README

Shadcn Admin Dashboard

Admin Dashboard UI crafted with Shadcn and Vite. Built with responsiveness and accessibility in mind.

alt text

Sponsored by Clerk

I've been creating dashboard UIs at work and for my personal projects. I always wanted to make a reusable collection of dashboard UI for future projects; and here it is now. While I've created a few custom components, some of the code is directly adapted from ShadcnUI examples.

This is not a starter project (template) though. I'll probably make one in the future.

Features

  • Light/dark mode
  • Responsive
  • Accessible
  • With built-in Sidebar component
  • Global search command
  • 10+ pages
  • Extra custom components
  • RTL support

Customized Components (click to expand)

This project uses Shadcn UI components, but some have been slightly modified for better RTL (Right-to-Left) support and other improvements. These customized components differ from the original Shadcn UI versions.

If you want to update components using the Shadcn CLI (e.g., npx shadcn@latest add <component>), it's generally safe for non-customized components. For the listed customized ones, you may need to manually merge changes to preserve the project's modifications and avoid overwriting RTL support or other updates.

If you don't require RTL support, you can safely update the 'RTL Updated Components' via the Shadcn CLI, as these changes are primarily for RTL compatibility. The 'Modified Components' may have other customizations to consider.

Modified Components

  • scroll-area
  • sonner
  • separator

RTL Updated Components

  • alert-dialog
  • calendar
  • command
  • dialog
  • dropdown-menu
  • select
  • table
  • sheet
  • sidebar
  • switch

Notes:

  • Modified Components: These have general updates, potentially including RTL adjustments.
  • RTL Updated Components: These have specific changes for RTL language support (e.g., layout, positioning).
  • For implementation details, check the source files in src/components/ui/.
  • All other Shadcn UI components in the project are standard and can be safely updated via the CLI.

Tech Stack

UI: ShadcnUI (TailwindCSS + RadixUI)

Build Tool: Vite

Routing: TanStack Router

Type Checking: TypeScript

Linting/Formatting: ESLint & Prettier

Icons: Lucide Icons, Tabler Icons (Brand icons only)

Auth (partial): Clerk

Run Locally

Clone the project

  git clone https://github.com/satnaing/shadcn-admin.git

Go to the project directory

  cd shadcn-admin

Install dependencies

  pnpm install

Start the server

  pnpm run dev

Sponsoring this project ❤️

If you find this project helpful or use this in your own work, consider sponsoring me to support development and maintenance. You can buy me a coffee as well. Don’t worry, every penny helps. Thank you! 🙏

For questions or sponsorship inquiries, feel free to reach out at satnaingdev@gmail.com.

Current Sponsor

  • Clerk - authentication and user management for the modern web

Author

Crafted with 🤍 by @satnaing

License

Licensed under the MIT License

Extension points exported contracts — how you extend this code

ColumnMeta (Interface)
(no doc)
src/tanstack-table.d.ts
FileRoutesByFullPath (Interface)
(no doc)
src/routeTree.gen.ts
Register (Interface)
(no doc)
src/main.tsx
SignOutDialogProps (Interface)
(no doc)
src/components/sign-out-dialog.tsx
AuthUser (Interface)
(no doc)
src/stores/auth-store.ts
UserAuthFormProps (Interface)
(no doc)
src/features/auth/sign-in/components/user-auth-form.tsx
FileRoutesByTo (Interface)
(no doc)
src/routeTree.gen.ts
ScrollAreaProps (Interface)
(no doc)
src/components/ui/scroll-area.tsx

Core symbols most depended-on inside this repo

cn
called by 230
src/lib/utils.ts
setOpen
called by 27
src/hooks/use-dialog-state.tsx
useSidebar
called by 13
src/components/ui/sidebar.tsx
showSubmittedData
called by 13
src/lib/show-submitted-data.tsx
sleep
called by 9
src/lib/utils.ts
setTheme
called by 8
src/context/theme-provider.tsx
getCookie
called by 7
src/lib/cookies.ts
setCookie
called by 6
src/lib/cookies.ts

Shape

Function 361
Interface 18

Languages

TypeScript100%

Modules by API surface

src/components/ui/sidebar.tsx25 symbols
src/components/ui/dropdown-menu.tsx15 symbols
src/routeTree.gen.ts11 symbols
src/components/ui/alert-dialog.tsx11 symbols
src/components/ui/sheet.tsx10 symbols
src/components/ui/select.tsx10 symbols
src/components/ui/dialog.tsx10 symbols
src/components/ui/command.tsx9 symbols
src/components/ui/table.tsx8 symbols
src/components/config-drawer.tsx8 symbols
src/components/ui/form.tsx7 symbols
src/components/ui/card.tsx7 symbols

Dependencies from manifests, versioned

@clerk/clerk-react5.51.0 · 1×
@eslint/js9.37.0 · 1×
@faker-js/faker10.0.0 · 1×
@hookform/resolvers5.2.2 · 1×
@radix-ui/react-alert-dialog1.1.15 · 1×
@radix-ui/react-avatar1.1.10 · 1×
@radix-ui/react-checkbox1.3.3 · 1×
@radix-ui/react-collapsible1.1.12 · 1×
@radix-ui/react-dialog1.1.15 · 1×
@radix-ui/react-direction1.1.1 · 1×
@radix-ui/react-dropdown-menu2.1.16 · 1×

For agents

$ claude mcp add shadcn-admin \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact