← Back to library

Lexical — Rich text demo

A rich-text sample and formatting toolbar sit above a visible state inspector, joining document editing with developer feedback.

Lexical — Rich text demo — captured interface
Viewport capture · opening screen
Public demo · 2026-09-08Open full image ↗
Why this pattern works

A rich-text sample and formatting toolbar sit above a visible state inspector, joining document editing with developer feedback.

Design notes
Surface
Lexical — Rich text demo
Navigation
Wide document panel over a dark structured-data inspector.
Layout
Wide document panel over a dark structured-data inspector.
Density
Compact supporting controls preserve space for the primary content.
Color
White, light gray and black
Type
Small utility labels with monospaced text where code or structured data is visible.
Pattern
A rich-text sample and formatting toolbar sit above a visible state inspector, joining document editing with developer feedback.
States
Public example or template in its captured initial state; visible sample data is demonstration content.
Don't
Use the structure as a reference, with your own content and identity. This still does not establish the behavior of controls or unseen states.

Make it your own

Turn this reference into a useful brief for your project. Copy it into the AI tool you already use.

Add constraints
Preview & edit prompt
Assembled in your browser. No API key or AI request needed. Changing the fields refreshes the preview.