Demos

Interactive demos and side-by-side model comparisons.

← All Demos

Code Editor

Complex

Syntax highlighting, tabs, minimap, themes, and command palette

Shared Prompt

Create a code editor with syntax highlighting for JavaScript/TypeScript. Include: line numbers, a file tab bar with multiple open files, a minimap-style scrollbar, bracket matching highlights, a bottom status bar showing line/col/language/encoding, and a command palette triggered by Ctrl+K. Support multiple themes (light/dark/monokai). Render syntax highlighting using regex tokenization. Use monospace font, no external libraries.

Implementations (2)

Which implementation is better?

Same prompt, different models. Cast your vote.

Loading demo...
Loading demo...