Headers and text

Beautifully styled headings, paragraphs, text formatting, and links for optimal readability.

Headings

Use headings to organize your content and make it easier to read.

Headings can be wrapped in an anchor link when they have an id, with a hash icon shown on hover for H2, H3 and H4 so readers can link directly to a section.

Anchor links are off by default. Use the Theme component with the anchor prop to toggle them for a section of your app:

<template>
  <UTheme :props="{ prose: { h2: { anchor: true }, h3: { anchor: true }, h4: { anchor: true } } }">
    <!-- your rendered markdown -->
  </UTheme>
</template>
When using @nuxt/content, anchor links are enabled for H2, H3 and H4 by default. You can control their generation (for example, to disable them for AI chat interfaces) as well as the toc generation in your nuxt.config.ts:
nuxt.config.ts
export default defineNuxtConfig({
  content: {
    renderer: {
      anchorLinks: false
    },
    build: {
      markdown: {
        toc: {
          depth: 3
        }
      }
    }
  }
})

Heading 1

Nuxt UI

# Nuxt UI

Heading 2

## What's new in v4?

Heading 3

### Enhanced components

Heading 4

#### Getting started

Text formatting

Structure your content with clear paragraphs and consistent text formatting for better readability.

Paragraph

Nuxt UI provides a comprehensive collection of Vue components, composables and utilities for building modern, accessible applications with consistent design and enhanced user experience.

Nuxt UI provides a comprehensive collection of Vue components, composables and utilities for building modern, accessible applications with consistent design and enhanced user experience.

Strong

Strong text

**Strong text**

Emphasis

Emphasized text

*Emphasized text*

To create a link, wrap the link text in brackets followed by the URL in parentheses. Works for both external and internal links.

[Nuxt documentation](https://nuxt.com)

Blockquotes

Use blockquotes to highlight important information or quotes.

Nuxt UI automatically adapts to your theme settings, ensuring consistent typography across your entire application.

> Nuxt UI automatically adapts to your theme settings, ensuring consistent typography across your entire application.

Horizontal rules

Use horizontal rules to visually separate content sections.


---