App Config
Wire up the Admin, resources, data providers, auth, and i18n.
The Admin component, along with all the necessary components to create an admin (such as List, Edit, DataTable, TextField, TextInput, etc.)
<Resource> components define the CRUD routes of a shadmin application.
<CustomRoutes> lets you define custom pages in your shadmin application, using react-router <Routes> elements.
In a shadmin app, you don’t write API calls using fetch or axios. Instead, you communicate with your API through an object called the dataProvider.
Shadcn-Admin-Kit supports both authentication and authorization, allowing you to secure your admin app with your preferred authentication strategy. Since there are many strategies (e.g., OAuth, MFA, passwordless, magic link), shadmin delegates this logic to an authProvider.
Translate the admin UI and let users switch locales with the i18n provider.
Shadmin uses native shadcn theming. A theme is a set of CSS custom properties (--primary, --background, …) living in your stylesheet — not a runtime JavaScript object. The default palette ships in src/index.css (:root for light, .dark for dark) and every component renders against it.