---
title: "Overview"
description: "Customizing Nuxt Starter Kit."
canonical_url: "https://lab.nnsvn.me/docs/api/configuration/shadcn-docs"
---

> Index of every page on this site: [llms.txt](https://lab.nnsvn.me/llms.txt)

Nuxt Starter Kit is configured through `docs.config.ts`.

```ts [docs.config.ts]
export const DOCS_CONFIG = {
  header: {
    // ...
  },
  aside: {
    // ...
  },
  main: {
    // ...
  },
  // ...
};
```

## Fields Reference

Illustrative type declarations:

```ts
type Target = '_blank' | '_parent' | '_self' | '_top' | (string & object) | null | undefined;

interface ILink {
  title?: string;
  icon?: string;
  to: string;
  target?: Target;
  showLinkIcon?: boolean; // For nav and toc link section
}

interface INav {
  title: string;
  links?: (ILink & { description: string; icon: string })[];
  to?: string;
  target?: Target;
}
```

### Icons

All configurable icons can be set to iconify icons, emojis and urls, using [smart icon](https://lab.nnsvn.me/docs/components/docs/icon#smart-icon) under the hood.

## `site`

<ct-field-group>
<ct-field name="name" type="string">

The site name shown on the tap title: `<page> - <site_name>`.

</ct-field>

<ct-field name="description" type="string">

The site description for SEO.

</ct-field>

<ct-field name="ogImage" type="string">

The path to the Open Graph image.

</ct-field>

<ct-field name="ogImageComponent" type="string" default-value="ShadcnDocs">

The component to use for the dynamic ogImage. Possible values: `ShadcnDocs`, `Nuxt`, `NuxtSeo` or your custom component name.

</ct-field>

<ct-field name="ogImageColor" type="'light' | 'dark'" default-value="light">

Color mode to use for the dynamic ogImage.

</ct-field>

<ct-field name="umami" type="object">
<ct-collapsible title="Details">
<ct-field-group>
<ct-field name="enable" type="boolean" default-value="false">

Whether to turn on the umami integration.

</ct-field>

<ct-field name="src" type="string" default-value="https://cloud.umami.is/script.js">

The link src in the tracking code.

</ct-field>

<ct-field name="dataWebsiteId" type="string">

The *Website ID* from umami dashboard.

</ct-field>
</ct-field-group>
</ct-collapsible>
</ct-field>
</ct-field-group>

## `theme`

<ct-field-group>
<ct-field name="customizable" type="boolean" default-value="true">

Whether the theme can be customized by the user (show the customize button in the header).

</ct-field>

<ct-field name="color" type="Color" default-value="zinc">

The default color theme. [https://www.shadcn-vue.com/themes.html](https://www.shadcn-vue.com/themes.html)

</ct-field>

<ct-field name="radius" type="string" default-value="0.5">

The default radius.

</ct-field>
</ct-field-group>

## `banner`

<ct-read-more to="/docs/api/configuration/banner">



</ct-read-more>

<ct-field-group>
<ct-field name="enable" type="boolean" default-value="false">

Whether to enable the banner.

</ct-field>

<ct-field name="showClose" type="boolean" default-value="true">

Whether to show to close button.

</ct-field>

<ct-field name="to" type="string">

Link to navigate to. Don't set any value if you don't want to navigate.

</ct-field>

<ct-field name="content" type="string">

The content to show (parsed by the MDC parser).

</ct-field>

<ct-field name="target" type="Target" default-value="_blank">

Navigation target.

</ct-field>

<ct-field name="border" type="boolean" default-value="true">

Whether to show the border at the bottom of the banner.

</ct-field>
</ct-field-group>

## `header`

<ct-field-group>
<ct-field name="showLoadingIndicator" type="boolean" default-value="true">

Whether to show the nuxt loading indicator.

</ct-field>

<ct-field name="title" type="string">

The title shown on the header next to the icon.

</ct-field>

<ct-field name="showTitle" type="boolean" default-value="true">

Whether to show the title text on the header.

</ct-field>

<ct-field name="border" type="boolean" default-value="false">

Whether to show the bottom border of the header.

</ct-field>

<ct-field name="darkModeToggle" type="boolean" default-value="true">

Whether to show the dark mode toggle.

</ct-field>

<ct-field name="languageSwitcher" type="object">
<ct-collapsible title="Details">
<ct-field-group>
<ct-field name="enable" type="boolean" default-value="true">

Whether to show the language switcher. (Auto disabled when there is only one language)

</ct-field>

<ct-field name="triggerType" type="'icon' | 'text'" default-value="'icon'">

The type of the language switcher trigger.

</ct-field>

<ct-field name="dropdownType" type="'select' | 'popover'" default-value="'select'">

The type of the language switcher dropdown.

</ct-field>
</ct-field-group>
</ct-collapsible>
</ct-field>

<ct-field name="logo" type="{ light: string; dark: string; }" default-value="{ light: '/logo.svg', dark: '/logo-dark.svg' }">

The path to the logo image files in `/public`. `light` is for the icon shown in light mode, `dark` is for the icon shown in dark mode.

</ct-field>

<ct-field name="showTitleInMobile" type="boolean" default-value="false">

Whether to show the logo and title in mobile. (Recommended to use with [button styled search bar](https://lab.nnsvn.me/docs/api/configuration/shadcn-docs#search))

</ct-field>

<ct-field name="nav" type="INav[]" default-value="[]">

The content of the navbar in the header.

</ct-field>

<ct-field name="links" type="ILink[]" default-value="[]">

The links on the right of the header.

</ct-field>
</ct-field-group>

## `aside`

<ct-field-group>
<ct-field name="useLevel" type="boolean" default-value="true">

Whether to use level-styled sidebar.

</ct-field>

<ct-field name="levelStyle" type="'header' | 'aside'" default-value="'aside'">

The style of the level-styled sidebar. `header` means the top level links are shown in the header, `aside` means the top-level links are shown in the aside.

<ct-stack>
<ct-tabs variant="card">
<div label="aside">

![Aside style showcase](https://lab.nnsvn.me/level-style-showcase/aside.png)

</div>

<div label="header">

![Header style showcase](https://lab.nnsvn.me/level-style-showcase/header.png)

</div>
</ct-tabs>

<ct-alert icon="lucide:star">

Recommended to set `header.border` to `true` when using `header` style for better visual separation.

</ct-alert>
</ct-stack>
</ct-field>

<ct-field name="headerLevelNavAlign" type="'start' | 'center' | 'end'" default-value="'start'">

The alignment of the header top-level navigation links. Only applies when `levelStyle` is set to `header`.

</ct-field>

<ct-field name="collapse" type="boolean" default-value="false">

Whether to collapse all the folders by default.

</ct-field>

<ct-field name="collapseLevel" type="number" default-value="1">

Collapse folders that are deeper than the defined level. (Set it to `Infinity` if you want to expand all)

</ct-field>

<ct-field name="folderStyle" type="'default' | 'tree' | 'group'" default-value="default">

The default style used for [folders](https://lab.nnsvn.me/docs/getting-started/writing/folders#parameters).

</ct-field>
</ct-field-group>

## `main`

<ct-field-group>
<ct-field name="padded" type="boolean" default-value="true">

Whether the page is padded.

</ct-field>

<ct-field name="breadCrumb" type="boolean" default-value="true">

Whether to show the bread crumb.

</ct-field>

<ct-field name="showTitle" type="boolean" default-value="true">

Whether to show the title section.

</ct-field>

<ct-field name="codeCopyToast" type="boolean" default-value="false">

Whether to show a toast on code copy.

</ct-field>

<ct-field name="codeCopyIcon" type="string" default-value="lucide:copy">

Icon used for code copy buttons.

</ct-field>

<ct-field name="codeCopyToastText" type="string" default-value="'Copied to clipboard!'">

The text shown in the toaster.

</ct-field>

<ct-field name="fieldRequiredText" type="string" default-value="'required'">

The text shown in the [field](https://lab.nnsvn.me/docs/components/docs/field) component when a field is required.

</ct-field>

<ct-field name="pm" type="('npm' | 'pnpm' | 'bun' | 'yarn')[]" default-value="['npm', 'pnpm', 'bun', 'yarn']">

Package managers shown in the [pm components](https://lab.nnsvn.me/docs/components/docs/pm).

</ct-field>

<ct-field name="codeIcon" type="Record<string, string>">

The icon mapping for language / filename in the [code group](https://lab.nnsvn.me/docs/components/docs/code-group) header.

</ct-field>

<ct-field name="imageZoom" type="boolean" default-value="true">

Whether to enable the image zoom feature. (Click on images to zoom in)

<ct-read-more to="/docs/components/prose/images-and-embeds#image-zooming">



</ct-read-more>
</ct-field>

<ct-field name="editLink" type="object">
<ct-collapsible title="Details">
<ct-field-group>
<ct-field name="enable" type="boolean" default-value="false">

Whether to turn on the edit link.

</ct-field>

<ct-field name="pattern" type="string">

The link pattern.

</ct-field>

<ct-field name="text" type="string" default-value="Edit this page">

Text displayed on the link.

</ct-field>

<ct-field name="icon" type="string" default-value="lucide:square-pen">

The icon preceding the link.

</ct-field>

<ct-field name="placement" type="('docsFooter' | 'toc')[]" default-value="['docsFooter']">

Where to place the edit link.

</ct-field>
</ct-field-group>
</ct-collapsible>
</ct-field>

<ct-field name="backToTop" type="boolean" default-value="true">

Whether to turn on the back to top button next to the edit link.

</ct-field>
</ct-field-group>

## `footer`

<ct-field-group>
<ct-field name="credits" type="string" default-value="''">

The credit text on the left side of the footer (parsed by the MDC parser).

</ct-field>

<ct-field name="border" type="boolean" default-value="true">

Whether to show the border at the top of the footer.

</ct-field>

<ct-field name="links" type="ILink[]" default-value="[]">

The links on the right side of the footer.

</ct-field>
</ct-field-group>

## `toc`

<ct-field-group>
<ct-field name="enable" type="boolean" default-value="true">

Whether to turn on the toc section.

</ct-field>

<ct-field name="enableInMobile" type="boolean" default-value="false">

Whether to turn on the toc section in mobile.

</ct-field>

<ct-field name="enableInHomepage" type="boolean" default-value="false">

Whether to turn on the toc section in homepage.

</ct-field>

<ct-field name="progressBar" type="boolean" default-value="true">

Whether to show a progress bar on the left of the toc section.

</ct-field>

<ct-field name="title" type="string" default-value="'On This Page'">

The title for the toc section.

</ct-field>

<ct-field name="links" type="ILink[]" default-value="[]">

The links under the toc section.

</ct-field>

<ct-field name="iconLinks" type="ILink[]" default-value="[]">

The icon links under the toc section.

</ct-field>

<ct-field name="carbonAds" type="object">
<ct-collapsible title="Details">
<ct-field-group>
<ct-field name="enable" type="boolean" default-value="false">

Whether to turn on Carbon Ads.

</ct-field>

<ct-field name="disableInDev" type="boolean" default-value="false">

Whether to disable Carbon Ads in dev environment.

</ct-field>

<ct-field name="disableInMobile" type="boolean" default-value="false">

Whether to disable Carbon Ads on mobile.

</ct-field>

<ct-field name="code" type="string">

Carbon Ads code.

</ct-field>

<ct-field name="placement" type="string">

Carbon Ads placement.

</ct-field>

<ct-field name="format" type="'cover' | 'responsive'" default-value="cover">

Carbon Ads format.

</ct-field>
</ct-field-group>
</ct-collapsible>
</ct-field>
</ct-field-group>

## `search`

<ct-field-group>
<ct-field name="enable" type="boolean" default-value="true">

Whether to turn on the search feature.

</ct-field>

<ct-field name="inAside" type="boolean" default-value="false">

Whether to show the search bar in the sidebar.

</ct-field>

<ct-field name="style" type="'input' | 'button'" default-value="input">

Whether the search bar is displayed as a input or a button.

</ct-field>

<ct-field name="placeholder" type="string" default-value="'Search...'">

The placeholder text shown in the search bar.

</ct-field>

<ct-field name="placeholderDetailed" type="string" default-value="'Search documentation...'">

The placeholder text shown in the search dialog input.

</ct-field>
</ct-field-group>

## `data`

<ct-read-more to="/docs/api/advanced/data-binding">



</ct-read-more>

## Default Config

<ct-read-more to="https://github.com/No-Name-Studio-VN/Homepage/blob/main/app/composables/useConfig.ts" icon="lucide:code" title="source file">



</ct-read-more>

## Sitemap

See the full [sitemap](https://lab.nnsvn.me/sitemap.md) for all pages.
