Limited-time sale: up to 39% off all plans.Get the deal
Shadcnadmin.com

Search

Search dashboards, components and blocks

Project Structure

Documentation

Project Structure

Where pages, components, data and theme tokens live.

Overview

All templates follow the same idea, whatever the framework: routes in one place, reusable UI in another, sample data kept apart from the components, and the whole look driven by design tokens in a single CSS file. Once you know one version, the others feel familiar.

Folders by framework

Next.js
Loading...
Exact folder names can differ slightly between templates. The README in each project is the source of truth for that template.

Where things live

I want to change…Look in
A pageThe route folder: app/ (Next.js), src/app (React, Vue) or src/routes (Svelte)
Sidebar or top navigationThe layout components, usually under components/layout or a nav config file
Numbers, tables and chartsThe sample data in @data (src/lib/data in Svelte)
Colors, radius and fontsThe global CSS file: globals.css, or app.css in Svelte
Buttons, inputs, menuscomponents/ui (the template's styled primitives)

UI components

The primitives in components/ui are plain source files from shadcn/ui (or its Vue and Svelte ports), restyled for each template. They are yours: edit them freely, delete what you don't use and add new ones.

  • Next.js and Svelte versions include a components.json, so you can add new primitives with the CLI right away (see Customization).
  • React and Vue.js versions keep the primitives in src/components/ui without a CLI config. Copy new components in, or run the CLI's init once to create the config.