Theme Switcher

Settings card with a segmented light / dark / system toggle and icon plus label per option.

Theme

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

Import & use
import { Editor35 } from "@/components/beste/piece/editor35";

<Editor35
  active="system"
/>

More Editor pieces

View all Editor
greet.ts
export function greet(name: string) {
return `Hello, ${name}!`;
}
 
// Ship it

Theme-adaptive editor window with traffic-light header, filename, and a tokenized code body.

Zen Modemanifesto.md
Exit+K+Z

Zen Mode

editor32

Minimal focus card with a focus icon, current filename, and an exit-shortcut reminder.

format
  • Format DocumentEditor
  • Format SelectionEditor
  • Reveal in File ExplorerFile

Command palette card with a search bar, ranked results, hint captions, and kbd shortcut pills.

Switch branch…
  • feat/onboarding
  • main
  • feat/ai-suggest3
  • chore/cleanup

Branch picker popover with search, a list of branches, ahead counts, and an emerald check on the current one.

Launch Checklist

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

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

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

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.