Skip to content

ConsentFlow

stable

Multi-step consent wizard with step indicator

Human-in-the-LoopInteractive/Storybook ↗
import { ConsentFlow } from "@danagraph/design-system/patterns"
Loading demo…

Props

agentNamerequired
Type stringDefault —

Agent requesting consent

purposerequired
Type stringDefault —

Action description

permissionsrequired
Type Permission[]Default —

Permissions with scope and description

duration
Type stringDefault "Until revoked"

Consent duration

agencyLevel
Type AgencyLevelDefault 3

Authority level required

onGrant
Type () => voidDefault —

Grant consent handler

onDeny
Type () => voidDefault —

Deny consent handler

semantictypebordersurfacemotion
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?