CSS Shapes Generator
Generate CSS triangles, stars, polygons, and custom clip-path shapes. Copy CSS, HTML, or React code instantly.
.shape {
width: 0;
height: 0;
border-left: 60px solid transparent;
border-right: 60px solid transparent;
border-bottom: 120px solid #6366f1;
}Browser Support
| Property | Chrome | Firefox | Safari | Edge |
|---|---|---|---|---|
| border (trick) | ✓1+ | ✓1+ | ✓1+ | ✓12+ |
About CSS Shapes Generator
Generate CSS shapes online — triangles, stars, polygons, arrows, and more. Get ready-to-use CSS, HTML, and React code with browser support info. Build custom clip-path shapes visually.
How to Use
- 1Browse the shape gallery and click a shape to select it.
- 2Filter by category or search by name.
- 3Adjust color and size using the controls.
- 4Switch between CSS, HTML+CSS, and React tabs to copy the code.
- 5Use the custom clip-path editor to build your own shape.
Frequently Asked Questions
What shapes are available?
How does the custom shape builder work?
Which CSS techniques are used?
What is the browser support?
Tool Info
- Category
- dev
- Usage
- Unlimited
Related Tools
CSS Visual Generator
Generate CSS gradients, box shadows, and border radius visually with live preview.
Code Minifier & Beautifier
Minify or beautify CSS, JavaScript, and HTML. Shows file size savings instantly.
Regex Tester
Live regex testing with match highlighting, capture groups, replace mode, and 12 common patterns.
More dev tools
JSON Formatter
Format, validate, and beautify JSON data.
Base64 Encode/Decode
Encode text to Base64 or decode Base64 to text.
Encoder / Decoder
Encode & decode text with 15+ formats: Base64, URL, Hex, Binary, Morse, ROT13, JWT, SHA-256 and more.
GitHub Repository Scanner
Visualize any public GitHub repo: file tree, stats, README, and contributors.