A powerful VS Code extension to visually generate CSS clip-path shapes using presets, sliders, and draggable Figma-style points.
✨ Features
- 🎯 Preset shapes (triangle, square, hexagon, star, etc.)
- 🎛️ Custom polygon editor using sliders
- 🖱️ Drag-and-drop points (Figma-style interaction)
- 🌊 Smooth curved edges support
- ⚡ Live preview updates
- 📋 One-click CSS copy
- 🎨 Modern dark UI
🚀 How to Use
- Open Command Palette:
Ctrl + Shift + P
- Run:
Open Clip Path Generator
- Select:
- Shape preset OR custom polygon
- Adjust sliders OR drag points
- Enable curved edges (optional)
- Click:
Copy CSS
🧠 Use Cases
- UI/Frontend design
- CSS experimentation
- Landing page shapes
- SVG-style layout design
- Learning clip-path concepts
📦 Installation (Dev)
git clone your-repo
npm install
code .
Press F5 to run extension in dev mode.
🛠 Commands
Command Description
Clip Path Generator: Open Opens the editor