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 { ScreenDrape } from "@/components/effects/screen-drape/screen-drape";
export default function Background() {
return (
<ScreenDrape
className="h-svh w-full"
inkColor="#e4e9f6"
secondInkColor="#5f7dff"
backgroundColor="#0b1330"
cellSize={8}
screenAngle={15}
mark="dots"
foldScale={1}
foldDepth={1}
drapeSpeed={1}
lightAngle={135}
softness={0.45}
secondInkAmount={0}
calm={0.65}
cursorLight={0.8}
rippleStrength={1}
interactive={true}
/>
);
}Colours
Controls
Mark
A halftone print on draped silk: dot size follows the light and shadow of slow diagonal folds, the cursor rakes a light across them and a click sends a fold rippling outward. Full resolution but cheap; pauses off screen; one composed still frame under reduced motion.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| inkColor | string (hex colour) | "#e4e9f6" | Colour of the main ink: the dots or lines that carry the light. |
| secondInkColor | string (hex colour) | "#5f7dff" | Colour of the second ink, printed at another screen angle in the shadows. |
| backgroundColor | string (hex colour) | "#0b1330" | Colour of the paper behind the ink. |
| cellSize |























