ConsentFlow
stableMulti-step consent wizard with step indicator
import { ConsentFlow } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
agentNamereq | string | — | Agent requesting consent |
purposereq | string | — | Action description |
permissionsreq | Permission[] | — | Permissions with scope and description |
duration | string | "Until revoked" | Consent duration |
agencyLevel | AgencyLevel | 3 | Authority level required |
onGrant | () => void | — | Grant consent handler |
onDeny | () => void | — | Deny consent handler |
agentNamerequiredType
stringDefault —Agent requesting consent
purposerequiredType
stringDefault —Action description
permissionsrequiredType
Permission[]Default —Permissions with scope and description
durationType
stringDefault "Until revoked"Consent duration
agencyLevelType
AgencyLevelDefault 3Authority level required
onGrantType
() => voidDefault —Grant consent handler
onDenyType
() => voidDefault —Deny consent handler
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?