Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA grouped scope picker where sensitive scopes show a warning and the Authorize button stays off until the person confirms they understand. Use this when granting an app or token access needs informed consent.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use it for OAuth consent screens, personal access tokens and app install flows.
Do not use it for permissions of your own team members (use role-permission-tree) or when there is only one scope.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
scopes | TreeNode<Scope>[] | - | Scope groups with leaves; sensitive ones have data.sensitive. |
appName | string | - | Who is asking. |
defaultValue | string[] | [] | Scopes ticked at the start. |
onAuthorize | (scopes) => void | - | Called with the ticked scopes. |
disabled until it is checked.The pattern ships with a Testing Library test (api-scope-picker.test.tsx) that covers the plain path, the empty state, the sensitive confirmation and resetting it.