Generator Clip Path
Clip-path generator with draggable points for polygon, circle, ellipse and inset shapes.
Choose the primitives library your project already uses. Both look the same: your theme, not the variant, controls colors, shape, type and motion.
About this feature
What it's for
- Clip-path generator with draggable points for polygon, circle, ellipse and inset shapes.
- Edit a CSS polygon clip-path visually and export the SVG path as well.
- Shape library of hexagon, star, arrow and speech bubble clip paths for image masks.
Includes
- Clip path editor
- Polygon inset circle ellipse
- Draggable points
- Keyboard moveable handles
- Shape library
- Add remove points
- Svg path export
- Svg clippath export
Works with
- Radix UI and Base UI primitives (pick the one your project uses)
- React 19 and Tailwind CSS 4 in Next.js (App Router), Vite, React Router or TanStack Start, installed with the agentic-ui or shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
agentic-ui add generator-clip-pathnpx shadcn@4.17.0 add @agentic-ui/generator-clip-pathUsed in
A standalone component: drop it into any screen.
- Type
- Feature
- Variants
- Radix UI and Base UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-generator-foundation- Files
11 files
- components/agentic-ui/generator-clip-path/generator-clip-path/generator-clip-path.tsx
- components/agentic-ui/generator-clip-path/generator-clip-path/clip-stage.tsx
- components/agentic-ui/generator-clip-path/generator-clip-path/clip-model.ts
- components/agentic-ui/generator-clip-path/shared/util.ts
- components/agentic-ui/generator-clip-path/shared/oklch.ts
- components/agentic-ui/generator-clip-path/generator-clip-path/clip-css.ts
- components/agentic-ui/generator-clip-path/generator-clip-path/clip-presets.ts
- components/agentic-ui/generator-clip-path/generator-clip-path/clip-controls.tsx
- components/agentic-ui/generator-clip-path/shared/viewport-toolbar.tsx
- components/agentic-ui/generator-clip-path/shared/name-field.tsx
- components/agentic-ui/generator-clip-path/index.ts
Related components
Generator Border Radius Blob
CSS blob shape generator with draggable border-radius handles and an eight-value border-radius output.
Details and live previewGenerator Css Loader
CSS loader generator with ring, dots, bars, pulse and orbit variants that exports CSS and a React component.
Details and live previewGenerator Easing Spring Editor
A design-system team tunes the brand ease and spring and exports them as a tokens.json override for the Stripe personality.
Details and live previewGenerator Foundation Shell
A background pattern generator that exports CSS, Tailwind classes, a React component and a shadcn registry item.
Details and live preview