Headers and Text

Headings, paragraphs, text formatting, and links with enhanced prose styling.

Text content forms the foundation of any documentation. Nuxt UI provides beautifully styled prose components that automatically enhance your markdown headings, paragraphs, and text formatting for optimal readability and consistent typography.

Headings

Use headings to structure your documentation and help users navigate content.

Main Heading (h1)

The primary title for your page or section. Typically used once per page.

Nuxt UI

# Nuxt UI

Section Heading (h2)

Secondary headings that divide your content into major sections.

## What's new in v4?

Subsection Heading (h3)

Subsection headings for organizing content within major sections.

### Enhanced Components

Minor Heading (h4)

Minor headings for detailed organization within subsections.

#### Getting Started
Headings H1 through H3 create anchors and show up automatically in the table of contents.

Paragraphs

Standard paragraph text with proper spacing and line height for optimal readability.

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.

Text Formatting

Nuxt UI supports most Markdown formatting options with enhanced styling.

Basic Formatting

StyleMarkdown syntaxResult
Bold**bold**Bold
Italic*italic*Italic
Strike~~strike~~Strike

Combined Formatting

Combine formatting for richer text styles and visual emphasis.

StyleMarkdown syntaxResult
Bold Italic**_bold italic_**Bold Italic
Bold Strike~~**bold**~~Bold
Italic Strike~~*italic*~~Italic

Scientific Notation

For exponents, indices, or mathematical notations, use HTML tags.

StyleHTML syntaxResult
Superscript<sup>superscript</sup>superscript
Subscript<sub>subscript</sub>subscript

Strong Text (strong)

Bold text for emphasis and important content.

Strong text

**Strong text**

Emphasized Text (em)

Italic text for subtle emphasis and stylistic distinction.

Emphasized text

*Emphasized text*

Links connect different parts of your documentation and external resources.

To create a link, wrap the link text in brackets followed by the URL in parentheses.

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

For linking within your documentation, use root-relative paths.

[Installation](/docs/getting-started/installation)

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.
app.config.ts
export default defineAppConfig({
  ui: {
    prose: {
      blockquote: {
        base: 'border-s-4 border-accented ps-4 italic'
      }
    }
  }
})
vite.config.ts
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import ui from '@nuxt/ui/vite'

export default defineConfig({
  plugins: [
    vue(),
    ui({
      ui: {
        prose: {
          blockquote: {
            base: 'border-s-4 border-accented ps-4 italic'
          }
        }
      }
    })
  ]
})

Horizontal Rules

Use horizontal rules to visually separate content sections.


---