128
Feature flags per environment: flip a flag, drag its rollout and see how many people that is, target segments with chips, and a kill switch you have to press and hold, with undo, before it turns everything off.
akafeature flags·feature toggles·rollout
Run this in any project set up for the shadcn CLI. It copies the Flag Board source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/flag-board.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { FlagBoard } from "@/components/flag-board";
export default function Page() {
return <FlagBoard />;
}A free React component in the Dev Tools collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Flag Board source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| flagsrequired | FeatureFlag[] | — |
| environmentsrequired | FlagEnvironment[] | — |
| segmentsrequired | FlagSegment[] | — |
| defaultEnvironment | string | — |
| onChange | (flags: FeatureFlag[]) => void | — |
| className | string | — |