# Application Developer Tool: Feature Flags Panel

An environment chip row above flag rows with a mono key, rollout meter, kind badge, last editor avatar, and an enable switch.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/feature-flags-panel
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Developer Tools](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/feature-flags-panel.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-developer-tools-feature-flags-panel
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: avatars, badge, button, switch
- Installs to: `@/components/blocks/application-pro/developer-tools/feature-flags-panel`

## About this block

Feature Flags Panel is the flag management surface for
the acme-app project, evaluated at the edge. An
environment chip row sets the scope to Production,
Staging, or Development, with a note that the values
shown are for Production. Below it, five flag rows each
carry a monospace key, a one line description, a kind
Badge that reads on/off, percentage, or targeted, a
rollout meter with a percent readout, the last editor
avatar with a relative timestamp, and an enable Switch.
The onboarding.legacy_tour flag is stale: it wears a
stale Badge and a nudge that it has had no evaluations
in 30 days, suggesting an archive.

Flags are one typed const array and kindLabel is a
Record, so each kind maps to a plain word without extra
branching. The stale entry drives both the muted key and
the archive line from a single boolean, and the footer
records that toggles propagate to SDK clients within 30
seconds and land in the audit log with actor and previous
value.

## When to use

Reach for this block on the project settings or feature
management page, wired to your flag provider and scoped
to the selected environment. Point the Switch at your
toggle endpoint and confirm the change reaches connected
SDK clients before you close the panel.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)

**After**

- [Deploy panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- [Status and health](https://www.shadcn-ui-blocks.com/blocks/application-pro/status-health)

## What you can display

One strong use is the environment scoped flag list.
Other flag surfaces:

- **Rollout schedule.** Add a target percentage and a
  ramp date per flag to plan a staged release.
- **Kill switch board.** Filter to boolean flags with a
  single prominent Switch for incident response.
- **Targeting rules.** Expand a targeted flag to show its
  segment conditions and the orgs currently matched.

> Tip: the stale nudge is the housekeeping cue; surfacing
> the 30 day evaluation gap in the row is what gets dead
> flags archived instead of forgotten.

## More in Application Developer Tools

- [Api Console](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/api-console)
- [Build Status List](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/build-status-list)
- [Cron Jobs Monitor](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/cron-jobs-monitor)
- [Dependency Audit](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/dependency-audit)
- [Deploy Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/deploy-panel)
- [Diff Viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/diff-viewer)
- [Env Vars Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/env-vars-manager)
- [Error Inbox](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/error-inbox)
- [Log Viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/log-viewer)
- [Migrations Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/migrations-panel)
- [SDK Quickstart](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/sdk-quickstart)
- [Secrets Rotation Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/secrets-rotation-card)
- [SQL Query Editor](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/sql-query-editor)
- [Terminal Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/terminal-panel)
- [Trace Waterfall](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/trace-waterfall)
- [Webhook Logs Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/webhook-logs-table)
