Transition API
Learn about the Transition component's props and CSS classes.Import
import { TransitionProps } from "@prismane/core";
Props
Transition
extends Box component's props.
Name | Type | Description | Default |
---|---|---|---|
transition | PrismaneTransitions / string | The transition properties of the container. | all |
duration | number | The duration of the transition. | 150 |
delay | number | The delay of the transition. | 0 |
timing | string | The timing of the transition. | ease-in-out |
CSS
Transition
extends Box component's CSS classes.
Rule | Global Class | Description |
---|---|---|
root | .PrismaneTransition-root | The container of the transition component. |