structyl

Transition API

View component

The 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.

PropTypeDefault
in#boolean

Open state.

false
appear#boolean

Marks initial appearance.

mountOnEnter | unmountOnExit#boolean

Mount behavior.

false
timeout#number | { appear?: number; enter?: number; exit?: number }

Transition duration metadata.

className#string

Additional Tailwind classes merged with the component defaults.

Source code

If you didn't find what you need here, read the component implementation .

structyl — Accessible React Component Library