Guide

THE TOOLBOX / CSS & UI UTILITIES

CSS clip path generator,
polygons, circles & vectors.

Design responsive CSS clip-path masks visually with drag-and-drop polygon handles, click-to-insert vertices, grid snapping, custom photo previews, CSS import, Tailwind classes, and SVG clipPath exports.

SHAPE & VERTEX CONTROLS6 / 25 points
Snap:
#1
#2
#3
#4
#5
#6
INTERACTIVE STAGE
POLYGON
123456

Drag vertices on the canvas, click any edge to add a point, or pick a preset.

EXPORT CODE

CLIP-PATH REFERENCE

Choosing the right CSS clip-path function for your layout.

CSS FunctionBest Used ForGeometry
polygon(x% y%, ...)Hero angles, ribbons, chevrons, avatars, badgesStraight edges (3–25 pts)
circle(r% at cx% cy%)Circular avatars, spotlight reveals, hover expandsCircular arc
ellipse(rx% ry% at cx% cy%)Curved section dividers, oval portraitsElliptical arc
inset(t% r% b% l% round px)Image crop reveals, rounded sliding panelsCorner radius

1. Direct-Manipulation Canvas

Drag handles right over the live preview with ghosted outside regions, click any polygon edge to insert a new vertex, and flip or rotate shapes in a single click.

2. Real Photo & Aspect Ratio Testing

Upload a local image (never leaves your browser) and toggle between 1:1, 4:3, 16:9, and 3:4 containers to verify crops before shipping.

Frequently Asked Questions

What is CSS clip-path and how does it differ from overflow: hidden or mask-image?

CSS clip-path defines a crisp vector boundary showing only the inside of the shape. Unlike overflow: hidden (which is limited to rectangles and border-radius), clip-path supports arbitrary polygons, circles, ellipses, and inset boxes, and ignores pointer events outside the clipped area.

How do percentage coordinates work in CSS polygon clip paths?

Each coordinate pair in polygon(x% y%, ...) maps to the element bounding box: 0% 0% is top-left and 100% 100% is bottom-right. Because percentages scale automatically, your mask stays aligned across responsive desktop and mobile containers.

Can I paste an existing CSS clip-path to edit it visually?

Yes. Paste any polygon(), circle(), ellipse(), or inset() rule into the Import existing CSS clip-path box and click Import to load its vertices or sliders onto the interactive canvas.

Can CSS clip-path transitions be GPU-accelerated?

Yes. Modern browsers interpolate clip-path on the compositor thread without triggering layout reflow, as long as the start and end states use the same shape function and the exact same number of polygon vertices.

How do I use generated clip paths in Tailwind CSS?

Switch the Export Code tab to Tailwind to copy an arbitrary utility such as [clip-path:polygon(25%_0%,_75%_0%,_100%_50%,_75%_100%,_25%_100%,_0%_50%)] that works directly in Tailwind CSS v3 and v4.

When should I choose SVG <clipPath> over CSS polygon()?

Use CSS polygon() for crisp straight-edged shapes and fast hover animations. Choose SVG <clipPath clipPathUnits="objectBoundingBox"> when you need bezier curves, organic blobs, or reusable multi-path masks.