◆ CSS Clip-Path Generator

Clip-path preset gallery with live previews and CSS copying.

Last updated: November 8, 2026 · By the BoltQuickTools team

Click the CSS to copy. Apply to any element with clip-path: ....

A shortcut to common clip-path shapes

Writing a star or an arrow as a list of polygon points by hand is slow and fiddly. This page gives you 25 ready-made clip-path values so you can see a shape and copy it, then adjust the numbers yourself if you need to.

Picking a shape

Click a name in the list on the left, such as Trapezoid or Speech Bubble. The gradient square shows the result, and the line below it holds the CSS. Click that line to copy it. There is no confirmation, so paste to check. The page has no point-dragging or number fields: what you get is the preset, and any change is made in your own stylesheet.

From preset to real element

Selecting Trapezoid gives exactly this:

clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);

Percentages are relative to the element's own box. On a 400 by 200 pixel banner those points land at (80, 0), (320, 0), (400, 200) and (0, 200), so the top edge is 240 pixels wide and the bottom edge is 400. Raise the first x value and lower the second to steepen the taper.

Hexagon, which is selected when the page loads, gives:

clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

On a square this is the usual flat-topped hexagon. On a 16:9 element it stretches sideways, because every point scales with the box. To keep the shape true, give the element aspect-ratio: 1 or work out new points. The same applies to Star (5) and Cross.

Behaviour worth knowing before you ship

Animating and editing the shapes

Which presets can be animated into each other?

A transition between polygons only runs smoothly when both have the same number of points. Otherwise it jumps. These groups match:

PointsPresets
3Triangle, Right Triangle
4Trapezoid, Parallelogram, Diamond, Rhombus
5Pentagon, Top Cut
6Hexagon, Rabbet, Chevron Right
7Heptagon, Arrow Right, Arrow Left, Speech Bubble
8Octagon, Bevel (corners)

Square and Frame are both inset() and also animate into each other. Pair the transition with a curve from the cubic bezier editor.

Can I use the value on an image?

Yes. clip-path applies to any element, including img and video. The copied line includes the property name and semicolon, so it drops straight into a rule.

Can I change a point after copying?

Yes, each x y pair is one corner. Nudging a number by a few percent moves that corner, and browser DevTools will show the result live on your element.