EditorToolbar
ShellsBuild a rich-text editing toolbar from Toolbar and Tooltip components.
Edit Markdown with a formatting toolbar and textarea.
bun add @reopt-ai/opt-uiimport { RichTextEditor } from "@reopt-ai/opt-ui";Change the width and theme, then interact with the components.
Build a rich-text editing toolbar from Toolbar and Tooltip components.
Read and copy code snippets with line numbers, a focusable scroll region, and syntaxTheme styling.
Edit SQL with CodeMirror syntax highlighting and autocomplete.
Compare code in unified or split views using an LCS diff and focusable scroll regions.
Organize FAQ questions and answers with Composite and Disclosure components.
Add a sticky, fixed-width page aside with header, body, and footer slots.