docs
Starter Kit

Starter Kit

Starter-kit is a minimal template from where you can start your project quickly instead of removing stuff that isn't needed. Below are quick notes on the starter-kit:

  • No Auth
  • No Dashboard
  • No Apps
  • No Pages
  • No Elements

Folder Structure

Learn about the folder structure of the Starter Kit and its contents.

|
β”œβ”€ app
β”‚  β”œβ”€ (dashboard)
β”‚  β”‚  |-layout.jsx
β”‚  β”‚  |-main-layout.jsx
β”‚  β”‚  |-page.jsx
β”‚  β”‚
β”‚  β”œβ”€ api
β”‚  β”œβ”€ assets
β”‚  |- favicon.ico
β”‚  |- layout.jsx
β”‚  |- not-found.js
β”‚
β”œβ”€ components
β”‚  β”œβ”€ landing-page
β”‚  β”œβ”€ partials
β”‚  β”œβ”€ svg
β”‚  β”œβ”€ ui
|  |-blank.jsx
β”‚  |-dashboard-select.jsx
β”‚  |-dashboard-dropdown.jsx
β”‚  |-date-picker-with-range.jsx
β”‚  |-delete-confirmation-dialog.jsx
β”‚  |-error-block.jsx
β”‚  |-header-search.jsx
β”‚  |-layout-order.jsx
β”‚  |-ripple.jsx
|
β”œβ”€ config
β”œβ”€ hooks
β”œβ”€ lib
β”‚  β”œβ”€ docs
β”‚  |-appex-chat-options.jsx
β”‚  |-auth.js
β”‚  |-utils.js
β”‚
β”œβ”€ provider
β”œβ”€ public
β”œβ”€ store
|- .env.local
|- .gitignore
|- jsconfig.json
|- middleware.js
|- next.env.d.ts
|- next.config.js
|- package-lock.json
|- package.json
|- README.md
|- postcss.config.js
|- tailwind.config.js
|- theme.config.js
|- yarn.lock

Theme Configuration

Configuring themes in Dashcode is incredibly simple. The primary configuration file is type.ts. Inside the type.ts file, you can set up your theme, layout, sidebar type, sidebar color, and more. Refer to the code snippet below for all available options.

hooks/use-config.ts
export const Config = {
  "collapsed": false,
  "theme": "violet",
  "skin": "default",
  "layout": "vertical",
  "sidebar": "draggable",
  "menuHidden": false,
  "showSearchBar": true,
  "topHeader": "default",
  "contentWidth": "wide",
  "navbar": "sticky",
  "footer": "sticky",
  "isRtl": false,
  "showSwitcher": true,
  "subMenu": false,
  "hasSubMenu": false,
  "sidebarTheme": "redwood",
  "headerTheme": "light",
  "radius": 0.5
};