primitive · pds
<atproto-repo-status>
Inline badge showing a repo's active / deactivated / takendown status.
Live
Account status:
<atproto-repo-status src="pfrazee.com"></atproto-repo-status> Attributes
| Name | Type | Default | Description |
|---|---|---|---|
src * | string | — | Handle or DID. |
Parts
External CSS can target these via atproto-repo-status::part(<name>) { ... }.
| Part | What it is |
|---|---|
badge | The status pill. |
What it does
Calls com.atproto.sync.getRepoStatus and renders a colored
pill reflecting the returned status. "active" → green, "takendown" /
"suspended" → red, anything else → amber. Shape follows the shared token
system (radius-pill, accent colors).
Use cases
- Freshness badge: next to a handle, signal whether the account is still live.
- Moderation transparency: show takedown status explicitly — Bluesky does this for moderated content; your embed can too.
- Debug aid: when
<atproto-profile>fetches fail, this component can explain why.
Related
<atproto-latest-commit> — the complement: when was
the repo last active? Pair both for a full health indicator.