Data/Rich Editor

Rich Editor

A lightweight rich text editor with a formatting toolbar. Supports bold, italic, underline, strikethrough, ordered lists, and unordered lists.

import { RichEditor } from "@animui/ui"

Basic

Controlled with HTML output

Props

PropTypeDefaultDescription
valuestringHTML string content (controlled).
onChange(value: string) => voidCalled on every content change with the current HTML string.
placeholderstring"Start typing…"Placeholder text shown when the editor is empty.
classNamestringAdditional classes for the outer wrapper.

Formatting shortcuts

  • Ctrl+B Bold
  • Ctrl+I Italic
  • Ctrl+U Underline
© 2026 Steal Shadow. MIT License.Report an issue