Command Palette
Search for a command to run...
Loading component...
Text reveal box
A scroll-triggered text reveal component with smooth word-by-word animations. Features background highlights and text transitions that create an engaging reading experience.
Dependencies
Interaction Type
Scroll to reveal text word by word | |
Watch smooth text transitions |
CLI UNAVAILABLE
pro component, try copying the source code from top right corner
How to use
import { TextBoxReveal } from "@/components/v1/skiper70"; // Basic usage const DemoSkiper70 = () => { return ( <main> <TextBoxReveal> Your text content here that will be revealed word by word as you scroll. </TextBoxReveal> </main> ); };
// With highlight feature const HighlightExample = () => { return ( <TextBoxReveal highlight="important" highlightTextClass="!text-blue-500" highlightBgClass="!bg-blue-500" > This text contains an important word that will be highlighted. <br /> This text contains an important word that will be highlighted. </TextBoxReveal> ); };
Props | Description |
---|---|
children | Text content to reveal |
highlight | Word to highlight with special styling |
highlightTextClass | Custom text classes for highlighted word |
highlightBgClass | Custom background classes for highlighted word |
className | Additional CSS classes for the container |
Additional
use br tag if you want to break the line
Attribution
- Inspired by and adapted from nvg8.io
Source code
Click on the top right to view the source code
Keep in mind
Most components here are recreations of the best out there. I don't claim to be the original creator. This is my attempt to reverse-engineer, replicate, and often add a few extra features. I've tried to credit everyone, but if I missed something, let me know.
Contact
Additionlly, if you find any bug or issue, feel free toDrop a dm.
License & Usage:
- Free to use and modify in both personal and commercial projects.
- Attribution to Skiper UI is required when using the free version.
- No attribution required with Skiper UI Pro.