Documentation
Customization
Rebrand, change the theme, add pages and connect your own data.
A template is a starting point, not a dependency. Everything is plain source code in your project, so you can change anything. These are the changes almost everyone makes first.
Rebrand
- Name and logo: search the project for the template name (for example "Grogi") and replace it. The logo is usually a small component in the layout folder or an image in
public/(static/in Svelte). - Favicon and social image: replace the favicon and
og-imagefiles. - Page titles and SEO: each page sets its own title and description. Update the site name in the shared metadata or SEO helper.
- Demo-only extras: some templates show a promotional toast or links back to shadcnadmin.com. Remove those components from the root layout.
Colors and theme
Colors, radius and shadows are CSS variables (design tokens) in the global stylesheet: app/globals.css in Next.js, src/globals.css in React and Vue.js, src/app.css in Svelte. Light values live in :root and dark values in .dark. Tailwind utilities such as bg-primary read from these variables, so one change updates the whole dashboard.
Loading...
Picking colors
oklch() format. Tools like the shadcn/ui theme editor or any OKLCH color picker let you design a palette and copy the values. Keep enough contrast between each color and its -foreground pair.Some templates also document their design system (spacing, type scale, chart palette) in the README. Chart colors usually come from the --chart-1 to --chart-5 variables.
Fonts
Fonts are loaded with next/font in app/layout.tsx and exposed as CSS variables. Swap the import for another Google font and keep the variable name:
Loading...
Dark mode
Dark mode works by toggling a dark class on the html element (next-themes in Next.js and React, the Vue and Svelte equivalents in the other versions). Every component already has dark styles through the .dark tokens. To ship light-only, remove the theme toggle and the theme provider's system detection.
Add or remove pages
Create the route
Add a folder with a
page.tsxunderapp/, for exampleapp/invoices/page.tsx. Pages inside a route group such as(dashboard)automatically get the dashboard layout.Add it to the navigation
Add a link to the sidebar or top bar. Most templates keep the menu as a list of items in one file, so the new page needs a single entry with a label, URL and icon.
Reuse what is there
Copy an existing page with a similar layout and change it. You keep the spacing, cards and headers consistent with the rest of the dashboard.
To remove a page, delete its route and its navigation entry, then run a build to catch anything that still imports from it.
Add UI components
New primitives come from the same CLI that created the existing ones. Run it from the project root:
Loading...
Don't overwrite styled components
components/ui, answer no unless you want the default look back.You can also copy ready-made examples from the Components page, or install pro blocks (see Blocks & Components).
Connect real data
Pages read their numbers from sample data files in @data (src/lib/data in Svelte). Each file exports typed arrays and objects, which makes the swap to a real API straightforward:
- Keep the types the sample data uses; they describe what each component expects.
- Fetch the same shape from your API (or map your API response to it).
- Replace the import of the sample file with your fetch, page by page.
- Delete the sample file once nothing imports it anymore.
Example: replace a sample array with an API call
Loading...
For tables with many rows, move filtering, sorting and pagination to your API so the browser only loads one page of data at a time.