Prose

Prose is a wrapper component for typographic content, leveraging Tailwind CSS Typography plugin styles (Tailwind Typography). It ensures consistent, beautiful formatting for markdown, documentation, and rich text content. The component supports full-width mode and DaisyUI color utility classes for links and code blocks.

Prose

The Prose component wraps its default slot in a styled article. It applies the prose and daisy-prose classes, and supports additional customization via Tailwind utility classes.

Prose Props Type Description
class
string

Additional Tailwind or custom classes to apply. Use full-width for 100% width layout.

Prose Slots Description
default

The default slot. Place any typographic or rendered markdown content here.