Essentials

Markdown Components

Use Markdown components to help you structure your content, with the help of Nuxt UI Pro.

Prose components are replacements for HTML typography tags. They provide a simple way to customize your UI when using Markdown.

Docus and Nuxt UI Pro provides a set of styled and beautiful prose components to help you write your documentation using the MDC syntax.

This page highlights only the prose components best suited for writing documentation. However, you can use any Nuxt UI or Nuxt UI Pro component in your Markdown. For the full list of available components, visit the Nuxt UI documentation.

Accordion

Use the accordion and accordion-item components to display an Accordion in your content.

Badge

Use markdown in the default slot of the badge component to display a Badge in your content.

v3.0.0

Callout

Use markdown in the default slot of the callout component to add eye-catching context to your content.

Use the icon and color props to customize it. You can also pass any property from the <NuxtLink> component.

You can also use the note, tip, warning and caution shortcuts with pre-defined icons and colors.

Here's some additional information for you.
Here's a helpful suggestion.
Be careful with this action as it might have unexpected results.
This action cannot be undone.

Card and CardGroup

Use markdown in the default slot of the card component to highlight your content.

Use the title, icon and color props to customize it. You can also pass any property from the <NuxtLink>.

Wrap your card components with the card-group component to group them together in a grid layout.

Dashboard

A dashboard with multi-column layout.

SaaS

A template with landing, pricing, docs and blog.

Docs

A documentation with @nuxt/content.

Landing

A landing page you can use as starting point.

Collapsible

Wrap your content with the collapsible component to display a Collapsible in your content.

Field and FieldGroup

A fieldis a prop or parameter to display in your content. You can group them by field-group in a list.

analytics
boolean
Default to false - Enables analytics for your project (coming soon).
blob
boolean
Default to false - Enables blob storage to store static assets, such as images, videos and more.
cache
boolean
Default to false - Enables cache storage to cache your server route responses or functions using Nitro's cachedEventHandler and cachedFunction
database
boolean
Default to false - Enables SQL database to store your application's data.

Icon

Use the icon component to display an Icon in your content.

:icon{name="i-simple-icons-nuxtdotjs"}

Kbd

Use the kbd component to display a Kbd in your content.

:kbd{value="meta"} :kbd{value="K"}

Tabs

Use the tabs and tabs-item components to display Tabs in your content.

::callout
Lorem velit voluptate ex reprehenderit ullamco et culpa.
::
::tabs{.w-full}
  :::tabs-item{icon="i-lucide-code" label="Code"}
    ```mdc
    ::::callout
    Lorem velit voluptate ex reprehenderit ullamco et culpa.
    ::::
    ```
  ::::

  :::tabs-item{icon="i-lucide-eye" label="Preview"}
    :::::callout
    Lorem velit voluptate ex reprehenderit ullamco et culpa.
    :::::
  :::
::

Steps

Wrap your headings with the Steps component to display a list of steps.

Use the level prop to define which heading will be used for the steps.

Start a fresh new project

Terminal
npx nuxi init -t github:nuxt-ui-pro/docus

Run docus CLI to run your dev server

Terminal
docus dev