WYSIWYG editor with formatting toolbar.
import { RichTextEditor } from "@/components/ui";0 words
const [content, setContent] = useState("");
return (
<RichTextEditor
value={content}
onChange={setContent}
placeholder="Write your content here..."
/>
);Customize available formatting options
<RichTextEditor value={content} onChange={setContent} toolbar={["bold", "italic", "underline", "link", "bulletList", "orderedList"]}/>Inside a form with validation
<FieldWrapper label="Description" error={errors.description}> <RichTextEditor value={description} onChange={setDescription} placeholder="Describe your project..." /></FieldWrapper>Configure your app with the features you need and download production-ready code.
Start Configuring