Transition API
View componentThe full prop reference for the Transition component. Manages entering/entered/exiting/exited states for CSS transitions.
Import
tsx
import { Transition } from '@structyl/styled';Props
Transition
Data-state transition wrapper.
| Prop | Type | Default |
|---|---|---|
| in# | booleanOpen state. | false |
| appear# | booleanMarks initial appearance. | — |
| mountOnEnter | unmountOnExit# | booleanMount behavior. | false |
| timeout# | number | { appear?: number; enter?: number; exit?: number }Transition duration metadata. | — |
| className# | stringAdditional Tailwind classes merged with the component defaults. | — |
Source code
If you didn't find what you need here, read the component implementation .