Color Preview

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

Color Preview

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

Usage

The import and the props worth knowing about, in one place.

import { Editor26 } from "@/components/beste/piece/editor26";

<Editor26
  colors={[
    {
      "key": "--primary",
      "value": "#f43f5e"
    },
    {
      "key": "--accent",
      "value": "#8b5cf6"
    },
    {
      "key": "--surface",
      "value": "#0ea5e9"
    }
  ]}
/>

More Editor pieces

View all Editor

Launch Checklist

Ship with confidence by running through the five-point review.

  • Verify preview URL
  • Run smoke suite
  • Tag the release
pnpm release

Markdown Preview

Rendered markdown mini card with a heading, lede paragraph, bullet list, and inline code chip.

1function·greet(name)·{
2return·`Hello,·${name}!`;
3}

Whitespace Markers

Code lines with muted middle-dots for spaces and → glyphs for tabs, revealing indentation.

1// TODO migrate to server components
2// FIXME handles null state poorly
3// NOTE revisit once design lock lands

TODO Comment

Italic comment lines with colored TODO, FIXME, NOTE, or HACK tags.

AI Suggestion
const greet = (name: string) => `Hello, ${name}!`;

Inline Suggestion

AI Suggestion caption above a code line with a solid prefix, italic muted ghost text, and a blinking caret.

Feature177 Content#feature177
Heading

No tutorials needed.

Description

If you can order food online, you can build a website with Beste.

Content Panel

Side-panel content editor with a header chip row, locale and history pills, and stacked rich-text fields for heading and description.

const name = user.prfile.name;Property 'prfile' does not exist on type 'User'.

Error Lens

Code line where the offending token gets a colored wavy underline and the diagnostic message renders inline beside it.