Installation
Usage
import { BoxReveal } from "@/components/magicui/box-reveal";
<BoxReveal>Box Reveal</BoxReveal>
Props
Prop | Type | Default | Description |
---|---|---|---|
className | string | - | The class name to be applied to the component |
boxColor | string | #5046e6 | Color of the box overlaying the text |
duration | number | 0.5 | Durations (seconds) of the animation |