SVG studio
Draw and edit shapes on an artboard, vectorize an image or turn it into an ASCII pattern, then copy clean JSX, a React component or the SVG.
Drag to draw
Press B brush, R rectangle, C circle, T text
Brush
0 shapes
Style
for new shapesStroke#1f6bff
4px
100%
Stroke style
Layers 0
No layers yet. Shapes you draw appear here, top-most first.
Artboard
800 × 450V selects: drag empty space to marquee, Shift adds. Ctrl wheel or pinch zooms, Space drag pans. Hover any button for its key.
All shortcuts
- V H B E L R C O P T
- Tools
- Shift click / drag
- Add to selection
- Shift + handle
- Keep aspect ratio / 15° steps
- Alt + drag
- Duplicate while moving
- Ctrl C / X / V / D
- Copy, cut, paste, duplicate
- Ctrl A
- Select all
- Arrows (+ Shift)
- Nudge 1 (10)
- [ ] · Shift [ ]
- Backward / forward, to back / front
- Alt A D W S H V
- Align left, right, top, bottom, centre
- Ctrl Shift H / L
- Hide / lock
- Ctrl wheel · pinch
- Zoom to cursor
- Space drag · middle drag
- Pan
- + − · Shift 1 · Shift 0
- Zoom in, out, fit, 100%
- Ctrl Z · Ctrl Shift Z
- Undo, redo
Code
export default function CustomSvg() {
return (
<svg viewBox="0 0 800 450" xmlns="http://www.w3.org/2000/svg" fill="none" className="h-full w-full">
</svg>
);
}Vectorizer
Style
50 blocks
32 steps
Real vectors. The vectorizer redraws your image from hundreds of <rect>, <circle> or <polygon> elements. Lower the resolution for a smaller file.
Code
// Upload an image to generate a vector SVGKeep exploring
More playgrounds to try next.