Components
Animated
The Animated component is a versatile wrapper that adds animations to its children elements. It leverages Framer Motion to provide smooth, customizable animations for enhancing user interface interactions.
page.tsx
Properties
The HTML element or React component to render
The animation variant to apply, currently there are 5 presets: ‘slideUp’, ‘slideDown’, ‘slideUpBlur’, ‘fadeIn’, ‘scaleIn’, or you can pass a custom variant object
Whether to animate when the component enters the viewport
Custom CSS classes to apply to the component
Usage
example.tsx
If you need basic components like buttons, inputs, and more, they are available with Shadcn UI.
Was this page helpful?