Code Element
Demonstrates both read-only code display and editable code editor.
Features demonstrated:
- Syntax highlighting with built-in Rust and JSON highlighters
- Line numbers in the gutter
- Editable code editor with Stateful incremental updates
- Cursor, selection, clipboard (Cmd+C/X/V), undo/redo (Cmd+Z)
- Word navigation (Cmd+Left/Right), select all (Cmd+A)
- Vertical scrolling in the editor
Tip: Some demos are best viewed in a full browser window. Click “Open in a new tab” below for the full experience.