CSS Clip-Path / Shape Generator
Polygon, circle, ellipse and inset clip-path shapes with a drag-to-edit visual point editor, 13 named polygon presets, a real-image preview, randomize, and export to CSS, Tailwind, SCSS or React.
What this tool does
Builds a CSS clip-path value by dragging points
directly on a live preview, instead of typing coordinate pairs
into a polygon() function by hand and guessing how
they'll look.
Polygon: drag-to-edit points
Each point in the polygon is a draggable handle on the preview — drag one to reshape the polygon in real time, add a point (inserted at the midpoint of the closing edge), or remove any point down to a minimum of 3. 13 named presets — triangle, diamond, hexagon, pentagon, octagon, both arrow directions, message bubble, cross, star, chevron, parallelogram, and trapezoid — give a starting shape to then drag into something more specific.
Circle, ellipse and inset
The other three clip-path shape functions each
get their own draggable handles too — a circle's center and
radius, an ellipse's center and independent X/Y radii, and an
inset's four edges plus an optional rounded corner — rather than
only sliders with no visual feedback on the shape itself.
Previewing on a real image
Upload any image to see exactly how the clip shape crops real content, since a clip-path's effect is much easier to judge against a photo than a flat gradient block.
Getting the CSS out
A randomize button generates a fresh shape of whichever type is selected. Export as plain CSS, a Tailwind arbitrary-value class, SCSS, or a React inline style object, copyable with one click.
Privacy
Everything, including any uploaded image, is processed entirely in your browser -- nothing is sent to a server.