How satnaing/shadcn-admin works
Shadcn Admin is a responsive admin-dashboard UI: users enter through routed sign-in or authenticated areas, then work with dashboard pages such as tasks, users, settings, and apps. The sampled task UI demonstrates a local-data table workflow with filtering, sorting, pagination, and form-based edits; it does not show a backend persistence layer. The README also documents global search, theme and RTL support. Some page capabilities are represented from the tree and README; their internal wiring was not sampled.
Main entry points: authenticated-layout.tsx App Layout · tasks-table.tsx Task Table · main.tsx React Entry · routeTree.gen.ts Route Tree
Components 23
App Entry
- React Entry
src/main.tsx - Route Tree
src/routeTree.gen.ts - Auth Routes
src/routes/(auth)/sign-in.tsx - Authenticated Routes
src/routes/_authenticated/route.tsx - Clerk Integration
src/routes/clerk/route.tsx
Dashboard Shell
- App Layout
src/components/layout/authenticated-layout.tsx - Global Search
src/components/command-menu.tsx - UI Providers
src/context/theme-provider.tsx
Dashboard Pages
- Auth Screens
src/features/auth - Dashboard
src/features/dashboard - Task Management
src/features/tasks/index.tsx - Task Table
src/features/tasks/components/tasks-table.tsx - Sample Task Data
src/features/tasks/data/tasks.ts - Task Editor
src/features/tasks/components/tasks-mutate-drawer.tsx - User Management
src/features/users/index.tsx - Settings
src/features/settings/index.tsx - Apps Catalog
src/features/apps/index.tsx - Chats
src/features/chats/index.tsx - Error Pages
src/features/errors
Shared UI
- Table Controls
src/components/data-table/index.ts - UI Components
src/components/ui
Other components
- Dashboard User
- Clerk Service
Connections 22
- Dashboard User → React Entry: opens app
- React Entry → Route Tree: installs router
- Route Tree → Auth Routes: dispatches routes
- Route Tree → Authenticated Routes: dispatches routes
- Authenticated Routes → App Layout: renders layout
- Auth Routes → Auth Screens: renders screens
- App Layout → Dashboard: hosts page
- App Layout → Task Management: hosts page
- App Layout → User Management: hosts page
- App Layout → Settings: hosts page
- App Layout → Apps Catalog: hosts page
- App Layout → Chats: hosts page
- App Layout → Error Pages: hosts page
- App Layout → Global Search: provides access
- React Entry → UI Providers: wraps app
- Task Management → Task Table: renders table
- Task Table → Sample Task Data: reads sample rows
- Task Table → Table Controls: uses controls
- Task Table → Task Editor: opens editor
- Task Editor → UI Components: uses primitives
- Table Controls → UI Components: uses primitives
- Clerk Integration → Clerk Service: uses provider