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
ShadcnDocs
ShadcnDocs
, Nuxt
, NuxtSeo
or your custom component name. ogImageColor'light' | 'dark'
light
umamiobject
theme
customizableboolean
true
colorColor
zinc
radiusstring
0.5
banner
Read more at API > Configuration > Banner
enableboolean
false
showCloseboolean
true
tostring
contentstring
targetTarget
_blank
borderboolean
true
header
showLoadingIndicatorboolean
true
titlestring
showTitleboolean
true
borderboolean
false
darkModeToggleboolean
true
languageSwitcherobject
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
false
navINav[]
[]
linksILink[]
[]
aside
useLevelboolean
true
collapseboolean
false
collapseLevelnumber
1
Infinity
if you want to expand all) folderStyle'default' | 'tree' | 'group'
default
main
paddedboolean
true
breadCrumbboolean
true
showTitleboolean
true
codeCopyToastboolean
true
codeCopyIconstring
lucide:copy
codeCopyToastTextstring
'Copied to clipboard!'
fieldRequiredTextstring
'required'
pm('npm' | 'pnpm' | 'bun' | 'yarn')[]
['npm', 'pnpm', 'bun', 'yarn']
codeIconRecord<string, string>
editLinkobject
backToTopboolean
true
footer
creditsstring
''
linksILink[]
[]
toc
enableboolean
true
enableInMobileboolean
false
enableInHomepageboolean
false
titlestring
'On This Page'
linksILink[]
[]
iconLinksILink[]
[]
carbonAdsobject
search
enableboolean
true
inAsideboolean
false
style'input' | 'button'
input
placeholderstring
'Search...'
placeholderDetailedstring
'Search documentation...'
data
Read more at API > Advanced > Binding Data
Default Config
Read more at source file