Outline Panel

Outline
  • Dashboard
  • constructor
  • state
  • render
  • computeStats
About this piece

Outline Panel

Document outline with colored kind tiles for class, function, method, and prop. Depth-indented with an active row.

Usage

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

import { Editor12 } from "@/components/beste/piece/editor12";

<Editor12
  items={[
    {
      "label": "Dashboard",
      "kind": "class",
      "depth": 0
    },
    {
      "label": "constructor",
      "kind": "method",
      "depth": 1
    },
    {
      "label": "state",
      "kind": "prop",
      "depth": 1
    },
    {
      "label": "render",
      "kind": "method",
      "depth": 1,
      "active": true
    },
    {
      "label": "computeStats",
      "kind": "function",
      "depth": 0
    }
  ]}
/>

More Editor pieces

View all Editor
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.

col guide80
const message = `Hello`;
const longer = `Shipping the biggest onboarding upgrade yet`;
const wrapped = items.map((i) => i.name).join(', ') + '!'

Ruler Guide

Editor panel with a rose vertical column-limit ruler and numbered code lines behind it.

Your page looks empty

Start by adding your first block.

Empty Page

Centered editor placeholder with a soft icon tile, headline, hint line, and a recolorable call-to-action pill.

Keybindings
  • Command palette
    +K
  • Quick open
    +P
  • Toggle terminal
    +`
  • Format document
    ++F

Keymap List

Panel listing editor actions with their kbd shortcut combinations on the right.

Appearance

Images

Image entrance
Scroll effect

Motion

Section animation
Animation speed

Appearance Motion Panel

Site-wide appearance settings grouped the way a builder sidebar groups them, each value arriving from the right as its row lands.

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

Whitespace Markers

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