Skip to main content

CSS Clip-Path Generator – Polygon, Circle, Ellipse & Inset

Create CSS clip-path shapes visually. Drag polygon points or use circle, ellipse and inset, then copy the code as CSS, Tailwind or React.

CSS Clip-Path Generator

Cut elements into shapes and copy the code.

Polygon presets

Pick a shape, then drag its points.

Preview

polygon(50% 0%, 0% 100%, 100% 100%)

Drag a point, or focus it and use the arrow keys (Shift = 10). Delete removes it.

Generated code

Copy and paste directly into your project.

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

What is CSS Clip-Path Generator?

Cut any element into a shape with the CSS clip-path property. Start from a preset such as a hexagon, star or arrow, drag the points to reshape it, add or remove points, or switch to a circle, ellipse or inset rectangle with rounded corners. Percentages keep the shape responsive, and you can preview it on your own image. Copy the result as CSS, a Tailwind class or a React style object.

  • clip-path
  • polygon
  • circle
  • ellipse
  • inset
  • css shapes

Features

What you get with CSS Clip-Path Generator.

  • Draggable Polygon Points

    Drag points on the preview, nudge them with the arrow keys, or type exact values.

  • Four Shape Types

    Polygon, circle, ellipse and inset with rounded corners.

  • Ready-Made Presets

    Start from a triangle, hexagon, star, arrow, speech bubble and more.

  • CSS, Tailwind & React

    Copy the result in the format your project uses.

How to use CSS Clip-Path Generator

Follow these steps to get the best results.

  1. Choose a shape

    Pick a polygon preset, or switch to circle, ellipse or inset.

  2. Reshape it

    Drag the points on the preview. Add a point to make a more detailed shape, or remove one you do not need.

  3. Copy the code

    Pick CSS, Tailwind or React and paste it into your project.

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

Advertisement

In-feed adResponsive

Frequently asked questions

Common questions about CSS Clip-Path Generator.

It hides everything outside a shape you define, so an element, image or video can be a triangle, hexagon, circle or any polygon instead of a rectangle. The element keeps its normal size in the layout.

Comments

Share feedback, ask questions, or help others use this tool.

Join the discussion

Sign in to comment, reply, and report inappropriate content.

Advertisement

Mobile banner adResponsive