Overview
Customizing shadcn-docs-nuxt.
shadcn-docs-nuxt is configured through app.config.ts.
app.config.ts
Fields Reference
Illustrative type declarations:
Icons
All configurable icons can be set to iconify icons, emojis and urls, using smart icon under the hood.
site
namestring
<page> - <site_name>. descriptionstring
ogImagestring
ogImageComponentstring
ShadcnDocsShadcnDocs, Nuxt, NuxtSeo or your custom component name. ogImageColor'light' | 'dark'
lightumamiobject
theme
customizableboolean
truecolorColor
zincradiusstring
0.5banner
Read more at API > Configuration > Banner
enableboolean
falseshowCloseboolean
truetostring
contentstring
targetTarget
_blankborderboolean
trueheader
showLoadingIndicatorboolean
truetitlestring
showTitleboolean
trueborderboolean
falsedarkModeToggleboolean
truelanguageSwitcherobject
logo{ light: string; dark: string; }
{ light: '/logo.svg', dark: '/logo-dark.svg' }/public. light is for the icon shown in light mode, dark is for the icon shown in dark mode. showTitleInMobileboolean
falsenavINav[]
[]linksILink[]
[]aside
useLevelboolean
truelevelStyle'header' | 'aside'
'aside'header means the top level links are shown in the header, aside means the top-level links are shown in the aside.Recommended to set header.border to true when using header style for better visual separation.
headerLevelNavAlign'start' | 'center' | 'end'
'start'levelStyle is set to header. collapseboolean
falsecollapseLevelnumber
1Infinity if you want to expand all) folderStyle'default' | 'tree' | 'group'
defaultmain
paddedboolean
truebreadCrumbboolean
trueshowTitleboolean
truecodeCopyToastboolean
falsecodeCopyIconstring
lucide:copycodeCopyToastTextstring
'Copied to clipboard!'fieldRequiredTextstring
'required'pm('npm' | 'pnpm' | 'bun' | 'yarn')[]
['npm', 'pnpm', 'bun', 'yarn']codeIconRecord<string, string>
imageZoomboolean
trueRead more at Components > Prose Components > Images and embeds > image-zooming
editLinkobject
backToTopboolean
truefooter
creditsstring
''borderboolean
truelinksILink[]
[]toc
enableboolean
trueenableInMobileboolean
falseenableInHomepageboolean
falseprogressBarboolean
truetitlestring
'On This Page'linksILink[]
[]iconLinksILink[]
[]carbonAdsobject
search
enableboolean
trueinAsideboolean
falsestyle'input' | 'button'
inputplaceholderstring
'Search...'placeholderDetailedstring
'Search documentation...'data
Read more at API > Advanced > Binding Data
Default Config
Read more at source file