Skip to content

RichText

The RichText component enables input and display of formatted text with various options, allowing users to style their text, insert links, images, videos, etc.

When to Use

  • For product descriptions, blog posts, comments, and other content creation features.

Important

Ensure that your unocss.config.ts file is properly configured. Refer to: Safelisting Icon Classes

Usage

javascript
import { RichText } from '@youcan/alto';
vue
<RichText v-model="content" />

API Reference