Installation
Usage
Examples
Reduce Motion
Animation Presets
Slide Top
Slide Bottom
Scale Top
Scale Bottom
Scale Down
Perspective Top
Perspective Bottom
Perspective Left
Perspective Right
Wipe
Fade
Custom Animation
Transition Presets
Each animation comes with predefined transitionPreset
Alternatively, you can choose transition from this list:
default
anticipate
quickOut
overshootOut
swiftOut
snappyOut
inOut
inQuad
inCubic
inQuart
inQuint
inExpo
inCirc
outQuad
outCubic
outQuart
outQuint
outExpo
outCirc
inOutQuad
inOutCubic
inOutQuart
inOutQuint
inOutExpo
inOutCirc
inOutBase
in
out
linear
Additionaly, you can control the duration of the transition:
Custom Transition
API Reference
AlertDialog
Support all Root
Radix API
AlertDialogTrigger
Support all Trigger
Radix API
AlertDialogHeader
AlertDialogFooter
AlertDialogContent
Prop | Type | Default |
---|---|---|
animation | AnimationProps | ― |
animationPreset | enum | "motion" |
transition | Transition | ― |
transitionPreset | enum TransitionPreset | ― |
reduceMotion | boolean | false |
warningAnimation | boolean | true |
AlertDialogTitle
Support all Title
Radix API
AlertDialogDescription
Support all Description
Radix API
AlertDialogAction
Support all Action
Radix API
AlertDialogCancel
Support all Cancel
Radix API