Branch picker popover with search, a list of branches, ahead counts, and an emerald check on the current one.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor24 } from "@/components/beste/piece/editor24";
<Editor24
current="feat/onboarding"
branches={[
{
"name": "feat/onboarding",
"current": true
},
{
"name": "main"
},
{
"name": "feat/ai-suggest",
"ahead": 3
},
{
"name": "chore/cleanup"
}
]}
/>