Draw shapes and your own outlines
To draw a shape in Xodia, press R for a rectangle or O for an oval, or pick another shape from the list beside the Shape tool, and drag it onto the page. The Pen draws your own outline point by point. Each shape is a real element in your site's code, so it moves with the layout and fits every screen.
By Zuzo Studio, the team behind Xodia
Published
Free plan. No card needed.
Drawing in Xodia: Rectangle is picked from the Shape tool's list and drawn under the bakery's hero button; the Points panel rounds its top right corner, which makes it your own shape, and the Style panel's Styles group fills it with a gradient of three colours.
Step by step
How to draw a shape on your website
Seven steps from an empty spot on the page to a shape that fits every screen.
- 1
Open the page on the canvas
Open your project in Xodia and go to the page the shape belongs on. It shows on the canvas as it really looks.
- 2
Pick a shape
In the canvas tools under the page, press Shape, or press R for a rectangle and O for an oval. The small arrow beside Shape lists every shape, from a triangle or a star to a heart, a wave or a blob.
- 3
Drag it onto the page
Drag where the shape should go, or click once for a 160px one. Hold Shift to keep it square, and press Esc to stop drawing.
- 4
Or draw your own with the Pen
Press P. Click to place a point and drag to pull out a curve. Click the first point to close the shape, press Enter to leave it open, or press Esc to stop.
- 5
Move its points and round its corners
Double-click the shape. Drag a point, or click one and use the Points panel: type its place, make it Sharp, Smooth or Free, or set a corner radius and smoothing and choose Round.
- 6
Fill it
Open the Style panel with the paintbrush in the canvas's corner. Under Styles, Fill takes a colour, a gradient with as many colours as you like, or a picture from your Assets.
- 7
Check it on every screen
Turn on All sizes in the size menu to see the page at each size side by side. To change the shape on phones only, set Screens to Phone only first.
Shape tool
Every shape in one list
The Shape tool sits in the canvas tools under the page. The small arrow beside it opens the list: Rectangle, Oval, Triangle, Polygon, Star, Diamond, Heart, Cloud, Speech bubble, Cross, Ring, Arrow, Wave, Squircle and Blob.
- R draws a rectangle and O an oval, with no menu at all
- Drag to draw it at any size, Shift keeps it square, a click puts in a 160px one
- Add elements has a Shapes group too, with Badge, Pill and Line as well
- Change one shape into another later with Type in the Style panel's Shape group
The Shape tool in Xodia: Shape is on in the canvas tools under the bakery's page, the list beside it shows every shape to draw, from Rectangle and Oval to Heart, Wave and Blob, and the Points panel says to drag on the page to draw it.
Pen
Draw your own outline with the Pen
Press P, or choose the Pen in the canvas tools. Click to place points and drag to bend the line into a curve. Click the first point to close the shape, press Enter to finish it open, or Esc to stop.
- Double-click any shape to edit its points in the Points panel, a rectangle or a star too
- Make a point Sharp, Smooth or Free, add one, or delete one
- Round a corner by a radius, with smoothing for a softer curve, then choose Round
- What a path is, in short: Vector path
The Pen in Xodia: Pen is on in the canvas tools, four points are placed under the bakery's hero button with a curve pulled out of the third one, and the line runs back to the first point to close the shape, while the Points panel says how to place points, finish and stop.
Fill and outline
Colours, gradients and pictures inside a shape
A shape takes the same Fill as any box, under Styles in the Style panel: one colour, a gradient, or a picture cut to the shape.
- A gradient goes Down, Up, Across, Diagonal or From the centre, with a handle for each colour on the Colours bar
- A picture fills, fits or tiles the shape, with a focus point you choose
- An outline in any colour and width: Border for a rectangle or an oval, Outline in the Shape group for the rest
- New shapes start in your site's own colours
Colours inside a shape in Xodia: a blob under the bakery's hero button is selected and filled with a gradient of three colours, set in the Style panel's Fill with a handle for each colour on the Colours bar.
Real elements
Shapes that belong to your page
A shape is not a picture pasted on top. It is a box in your page's code, sized in rem, with its outline written as a class, so it follows the page like any other element.
It moves with the layout
A shape drawn into a section joins its layout, so it moves when the text around it grows. Set its Position to Placed in its parent to pin it to a spot in its box instead.
It fits every screen
Turn on All sizes to see the phone, tablet and desktop pages side by side. Set Screens to Phone only to make a shape smaller or move it on phones alone.
Words can sit on top
Put a shape and some words in the same box, and give the words a higher Stack order in Styles. The words stay real text that people can select and search engines read.
Ideas
Four ways to use a shape
Small touches that make a page feel made by hand, each one a few clicks.
A badge on a pricing card
Add Badge from Add elements, under Shapes, then set its Position to Placed in its parent and move it onto the card's corner. Put a short word on top with Stack order.
A twelve-point star on the corner of the bakery's Bread club card in Xodia, selected, with the word New on top of it.
A wave between two sections
Add a Wave from Add elements, under Shapes: it comes in as wide as its section. Put it at the bottom and give it the next section's colour, so one flows into the other.
A wave along the bottom of the bakery's dark section in Xodia, selected, filled in the page's paper colour so the next section starts in a curve.
A blob behind a photo
Draw a Blob where the photo sits and fill it with a soft gradient. Set the photo's Stack order higher, so the blob shows around its edges.
A blob filled with a gradient behind the bakers' photo in Xodia, selected, showing around the photo's edges.
An arrow that points at a button
Draw an Arrow next to the button and flip it in Transforms if it should point the other way. Add a few words after it, such as how many places are left.
An arrow beside the bakery's Book a class button in Xodia, selected, pointing at the button, with the words Six places left after it.
Tips
Tips for neat shapes
- Hold Shift while you drag for a perfect square or circle
- For a smooth curve with the Pen, drag on each point instead of clicking, and use fewer points
- A Ring keeps its round shape: its points can't be moved, so draw your own with the Pen if you need another
- For a section divider, set the wave's colour to the next section's fill, so the edge disappears
- Colours inside in the Style panel changes a colour everywhere in a section in one step, shapes included
Questions
Questions about shapes
Can I draw shapes on the Free plan?
Yes. The Shape tool, the Pen, the Points panel and every fill are on every plan, Free included, and drawing never uses AI credits.
Will a shape look blurry on a big screen?
No. Its outline is a vector path, not a picture made of pixels, so it stays sharp at any size. The shape is sized in rem, so it scales with the rest of the page.
Can I put a photo inside a shape?
Yes. Select the shape, open Styles in the Style panel and set Fill to Image. Pick a picture from your Assets or upload one, and choose whether it fills, fits or tiles the shape.
Why can't I add an outline to my shape?
An outline on a star, a heart or a shape you drew needs a colour fill. With a gradient or a picture fill, the Shape group says so. A rectangle or an oval takes Border in Styles instead.
Can I undo a shape I drew?
Yes. Press Cmd+Z on a Mac or Ctrl+Z on Windows. Drawing a shape, moving its points and changing its fill are each one step to undo on the canvas.
Does it work on a site I imported?
Yes, on Vite sites with React or plain JavaScript and on plain HTML sites, styled with Tailwind CSS. See Import and convert.
Keep exploring
Related guides and pages
- Edit a website without codeClick to type, swap photos and links, undo any edit
- Edit your website for phone and tabletEvery screen size side by side, phone-only changes
- Add a table to your websiteRows and columns from the Table bar, cards on phones
- Shapes in the editorThe Shape tool, the Pen and the Points panel
- Vector pathPoints, curves and corners, explained
- Shapes in the docsEvery key and setting for shapes