Command Palette
Search for a command to run...
Loading component...
SVG clip path mask
SVG clip path mask with custom geometric shapes for image masking. Features advanced SVG clip path techniques for creating unique image masks with clean geometric cuts.
Dependencies
Interaction Type
Watch the clip path masking effect | |
try resizing the browser |
with shacn cli3.0
//components.json
"registries": {
"@skiper-ui": "https://skiper-ui.com//registry/{name}.json"
}
npx shadcn add @skiper-ui/skiper66
OR with old shacncli
npx shadcn@latest add https://skiper-ui.com/registry/skiper66.json
How to use
import { ClipDiv } from "@/components/v1/skiper66"; const CustomMaskedContent = () => { return ( <div className="h-screen w-full"> <ClipDiv> <h1 className="text-4xl font-bold text-white">Custom Content</h1> </ClipDiv> </div> ); };
Props | Description |
---|---|
children | Content to render inside mask |
imgSrc | Image source |
className | Additional CSS classes |
Customise the mask
To customise the mask update the svg inside the ClipDiv component
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.