Components
Text
Text Reveal

Text Reveal Component

Add sleek, animated Text Reveal effect to your text for a modern user experience.

Example

Welcome to the Symbiote UI

Ready to Build Something

Stay Symbiotic! 🖤

Installation

Install the necessary dependencies:

npm install tailwindcss react-icons framer-motion

Copy and paste the following code into your project.

Props

PropTypeDefaultDescription
textsstring[][]An array of text strings to be revealed, each on a new line.
width"fit-content" or "100%""fit-content"Specifies the width of the reveal container.
boxColorstring"#5046e6"Custom color for the reveal overlay.
durationnumber0.5Duration of the animation in seconds for the overlay and text reveal.
classNamestring""Additional classes to style the container or text elements.