Animations
ShakeAnimation
Horizontal shake animation applied to wrapped content — ideal for invalid form inputs or error states.
Preview:1280px
Invalid input — this field is required
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| shake | boolean | false | Trigger the shake animation when true. |
| children | ReactNode | — | Content to apply the shake to. |
| intensity | number | 6 | Pixel offset for the shake displacement. |
| className | string | — | Additional CSS class names. |