Row of filename tabs with active styling. Dirty tabs show a sky dot in place of the close button.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor6 } from "@/components/beste/piece/editor6";
<Editor6
tabs={[
{
"filename": "index.tsx"
},
{
"filename": "button.tsx",
"active": true,
"dirty": true
},
{
"filename": "card.tsx"
},
{
"filename": "theme.css"
}
]}
/>Code template with dashed-outline tab stops. Active placeholder tints primary, others stay muted.
1function·greet(name)·{2→return·`Hello,·${name}!`;3}
Code lines with muted middle-dots for spaces and → glyphs for tabs, revealing indentation.
Pill with filename and a state glyph: emerald check for saved, sky dot for dirty.
Panel listing editor actions with their kbd shortcut combinations on the right.
Nested file explorer with folder chevrons, amber folder icons, and a highlighted active file.
No tutorials needed.
If you can order food online, you can build a website with Beste.
Side-panel content editor with a header chip row, locale and history pills, and stacked rich-text fields for heading and description.