From Infinity UI by Infinity UI, LicenseRef-InfinityUI license.
UI templates
Starting…
Pick a UI template to include it in the prompt.
Usage with these values
import { SlitReveal } from "@/components/effects/slit-reveal/slit-reveal";
export default function Background() {
return (
<SlitReveal
className="h-svh w-full"
page="#efede8"
satin="#07060d"
lightA="#8a63ff"
lightB="#3d7bff"
rim="#d8d0ff"
portraitWidth={0.22}
cornerRadius={0.28}
stopShape="portrait"
foldSpeed={1}
foldScale={1}
gloss={1}
rimStrength={1}
marks={true}
idleBreathing={true}
response={1}
scrollSensitivity={1}
followCursor={true}
/>
);
}Colours
Controls
Middle stop
A quiet paper page with a hairline slit that scroll, drag or a click opens into a tall window and then the full screen, revealing glossy folding satin with sliding light. It breathes on its own, pauses off screen, and shows one open still frame under reduced motion.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| page | string (hex colour) | "#efede8" | Colour of the page around the window. |
| satin | string (hex colour) | "#07060d" | Base colour of the satin inside the window; near black reads as polished obsidian. |
| lightA | string (hex colour) | "#8a63ff" | Colour of the first light that slides across the folds. |
| lightB | string (hex colour) |























