---
title: "Banner"
description: "Show a banner on the top of the page."
canonical_url: "https://lab.nnsvn.me/docs/api/configuration/banner"
---

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

<ct-stack>

```ts [docs.config.ts]
export const DOCS_CONFIG = {
  banner: {
    enable: true,
    showClose: true,
    content: 'Welcome to **Nuxt Starter Kit**',
    to: 'https://github.com/No-Name-Studio-VN/Homepage',
    target: '_blank',
    border: true,
  },
};
```

<ct-color-mode-image alt="Preview" srcDark="/banner/dark.png" srcLight="/banner/light.png">



</ct-color-mode-image>
</ct-stack>

## Parameters

<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>

## Sitemap

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