Bracket Match

Three-line snippet with the matching opening and closing brackets highlighted in primary.

1function render(items) {
2 items.forEach(draw);
3}
Matching bracket on line 3

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Editor27 } from "@/components/beste/piece/editor27";

<Editor27 />

More Editor pieces

View all Editor
onboarding3/12
activation

Two-row editor find bar with match counter, case/regex toggles, prev/next, replace, and replace-all.

12function renderChart(data) {
37}

Code Folding

editor38

Expanded open line, a collapsed region button with chevron and line count, and the closing line.

Ship production-ready components in a weekend.
27 chars·3 words

Text with a primary-tinted highlight and a floating dark pill showing character and word counts.

for (let $1:i = 0; $1 < $2:arr.length; $1++) {}
Tab throughTab

Code template with dashed-outline tab stops. Active placeholder tints primary, others stay muted.

/\b\w+@\w+\.com\b/gi
12

Regex Input

editor21

Regex input with slashes, violet flags, and a tabular match-count pill on the right.

--primary: #f43f5e;
--accent: #8b5cf6;
--surface: #0ea5e9;

CSS lines with inline color swatch squares next to each hex value.