Components
Reveal
Add a reveal effect to any component by wrapping it inside the Reveal component.
Image
Text
Props
Name | Type | Description | Default |
---|---|---|---|
children | React.ReactNode | Any component can be passed as a child | - |
className | string | Add custom styles to the reveal component | "" |
once | boolean | Controls whether you want to initiate the animation everytime the component is in the view | true |
direction | up , down , left , right | The direction to trigger the animation from | up |