@redrob-labs/ui v1.0.2 · Redrob Group Design System 2026

ScopeBadge

Agent harness · src/components/ScopeBadge/ScopeBadge.tsx

Everything an agent can reach, and whether it can change it.

The mode is spelled out - "Can read", "Can read and write" - because read and write are a developer's words for somebody else's files. A person granting access should not have to translate.

Every scope is listed, including the ones that are read-only. A list that showed only the powerful grants would make the total reach impossible to judge.

Import

import { ScopeBadge } from '@redrob-labs/ui';

Rendered

The design system's own preview case, run against this package's build. The parity gate compares this rendering to the reference bundle's.

Props

PropTypeNotes
scopes Scope[]
label string
className string

Exported types

Scope