Box Reveal
A smooth reveal animation that slides a colored overlay away to introduce content as it enters the viewport.
Loading...
Installation
Usage
import { BoxReveal } from "@/components/box-reveal";import { BoxReveal } from "@/components/box-reveal";<BoxReveal>
<h1>Box Reveal</h1>
</BoxReveal>
<BoxReveal>
// Pass any children here, and the reveal effect will be applied to it.
</BoxReveal><BoxReveal>
<h1>Box Reveal</h1>
</BoxReveal>
<BoxReveal>
// Pass any children here, and the reveal effect will be applied to it.
</BoxReveal>