Rename Refactor

Preview card with the struck-through old name, the new name, and a list of affected files with ref counts.

greetsayHello7 refs
  • greet.ts1
  • app.tsx4
  • welcome.tsx2

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

Import & use
import { Editor34 } from "@/components/beste/piece/editor34";

<Editor34
  oldName="greet"
  newName="sayHello"
  matches={[
    {
      "file": "greet.ts",
      "count": 1
    },
    {
      "file": "app.tsx",
      "count": 4
    },
    {
      "file": "welcome.tsx",
      "count": 2
    }
  ]}
/>

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

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

Zen Modemanifesto.md
Exit+K+Z

Zen Mode

editor32

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

function greet(name: string)

Code Lens

editor22

Action row above a function signature showing references, implementations, and inline commands.

Your page looks empty

Start by adding your first block.

Empty Page

editor47

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

editor37

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

Theme

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