Banner
Add a banner to your site
Be careful, Fumadocs v99 has released
Using the
rainbow
variantBe careful, this banner can be closed
Usage
Put the element at the top of your root layout.
Variant
Change the default variant.
Change Layout
By default, the banner uses a style
tag to modify Fumadocs layouts (e.g. reduce the sidebar height).
You can disable it with:
Close
To allow users to close the banner, give the banner an ID.
The state will be automatically persisted.
Edit on GitHub
Last updated on