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 page | The route folder: app/ (Next.js), src/app (React, Vue) or src/routes (Svelte) |
| Sidebar or top navigation | The layout components, usually under components/layout or a nav config file |
| Numbers, tables and charts | The sample data in @data (src/lib/data in Svelte) |
| Colors, radius and fonts | The global CSS file: globals.css, or app.css in Svelte |
| Buttons, inputs, menus | components/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/uiwithout a CLI config. Copy new components in, or run the CLI'sinitonce to create the config.