Transitions
Composable animation helpers — Fade, Slide, Zoom, Collapse. Wrap any element to add entrance/exit animations.
import
{ Fade, Slide, Zoom, Collapse } from "@pepulux/ui"Fade
Fading content
Slide
Sliding content
Zoom
Zooming content
Collapse
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| in* | boolean | — | When true, enters; when false, exits |
| timeout | number | 200 | Animation duration in ms |
| unmountOnExit | boolean | false | Remove from DOM after exit animation |
| children* | ReactNode | — | Content to animate |