# Draw shapes and your own outlines

URL: https://xodia.ai/guides/draw-shapes-and-outlines
Description: Draw shapes on your website without code: stars, waves and blobs from the Shape tool, or your own outline with the Pen. Round corners and fill with gradients.
Last updated: 2026-11-21

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](https://xodia.ai/about#who-builds-xodia), the team behind Xodia

Published November 21, 2026

[Start free](https://app.xodia.ai/auth/sign-up?ref=guides-draw-shapes-and-outlines&next=%2Fprojects%2Fnew%3Fstart%3Dtemplate) [Shapes in the editor](https://xodia.ai/product/visual-editor#shapes)

Free plan. No card needed.

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. 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. 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. 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. 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. 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. 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. 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

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](https://xodia.ai/glossary/vector-path)

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

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 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 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.
- ### 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.

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](https://xodia.ai/glossary/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](https://xodia.ai/product/import).

Keep exploring

## Related guides and pages

- [Edit a website without code Click to type, swap photos and links, undo any edit](https://xodia.ai/guides/edit-website-without-code)
- [Edit your website for phone and tablet Every screen size side by side, phone-only changes](https://xodia.ai/guides/edit-for-phone-and-tablet)
- [Add a table to your website Rows and columns from the Table bar, cards on phones](https://xodia.ai/guides/add-a-table-to-your-website)
- [Shapes in the editor The Shape tool, the Pen and the Points panel](https://xodia.ai/product/visual-editor#shapes)
- [Vector path Points, curves and corners, explained](https://xodia.ai/glossary/vector-path)
- [Shapes in the docs Every key and setting for shapes](https://docs.xodia.ai/editing/shapes-and-tables)

[See every guide](https://xodia.ai/guides)

## Draw your first shape in a minute.

[Start free](https://app.xodia.ai/auth/sign-up?ref=guides-draw-shapes-and-outlines-cta&next=%2Fprojects%2Fnew%3Fstart%3Dtemplate) [See pricing](https://xodia.ai/pricing)
