Refused state
Shown when the reader lacks a grant. It names the grant and the person who can give it, so the next step is obvious.
bunx --bun shadcn@4.17.0 add @waimakers/refused-state- Kit dependencies
- utilsthemeempty-state
- npm dependencies
- lucide-react@1.33.0
From the registry
A solid-bordered attention EmptyState preset that names the refused action, required grant and person who can grant access. Announces refusal as an alert; accepts a request action.
Examples
Default
The grant in mono and the person to ask. The title defaults to a plain refusal.
You do not have this grant
This needs the audit_read grant. Ask Tamar for access.
With action
Offer a way to ask, and a title that names what was refused.
You cannot edit this agent's skills
This needs the agents_write grant. Ask Paul for access.