Design

Blocks

Add ready-made sections and elements from the block picker, drag them onto the canvas, keep favorites and save your own blocks.

Use blocks to add ready-made sections and elements, such as a hero, a pricing table or a footer. A block you add becomes real code in your project that you edit like anything else.

What you can do

  • Browse blocks by category and search them by name.
  • Preview a block at desktop and mobile width before you add it.
  • Add a block at an exact spot, or drag it onto the canvas.
  • Mark blocks as favorites and find your recent ones.
  • Save any element as your own block and reuse it.

Add a block

  1. Open the picker

    In the Layers panel, hover the gap between two rows, or an empty container, and choose +. The Add block picker opens. The block will land at that spot. You can also choose Add block in the command palette (Cmd/Ctrl + K).

  2. Find a block

    Pick a category in the rail, or type in Search blocks. Each category shows its number of blocks. The categories are Navbars, Heroes, Logos, Features, Stats, Testimonials, Pricing, FAQ, Calls to action, Team, Blog, Contact, Footers, Sign-in, App shells, Dashboards, E-commerce, Forms and Elements. Your Favorites and Recently used blocks show first. A block of the Forms category opens the form builder on that form instead of adding it as is.

  3. Preview it

    Hover a block, or press Space on it, to see a larger preview. Switch between Desktop and Mobile to check both widths, set the Appearance to Light or Dark, or try another design system: this is a preview only. Reset the preview puts it back.

  4. Insert it

    Click the block, or press Enter on it. A notification confirms it, for example Block added: Hero. Choose Undo to take it back, or Personalize with AI to have the AI adapt its text and images to your project.

Drag a block onto the canvas

Drag a block card from the picker (Drag to the canvas) and drop it on a frame. Where it lands depends on the element under the pointer:

Drop zoneWhere the block lands
Top quarter of a containerBefore it
Bottom quarterAfter it
MiddleInside it, at the end

A drop line shows the spot before you release.

Favorites

Hover a block and choose Add to favorites. Favorites show first in the picker. Choose Remove from favorites to take a block out.

Full pages and sites

The block picker adds one block at a time. To start from a full multi-page site, choose Start from a template in the Pages panel. See Pages and routes.

My Blocks

  1. Save an element

    Right-click the element on the canvas and choose Save as block.

  2. Name it

    Enter a Block name, then choose Save block.

Your saved blocks are in the My Blocks tab of the picker. Open the menu of a block to Rename or Delete it. Deleting a saved block does not affect the copies already added to your project.

Shortcuts

ActionShortcut
Move between blocksArrow keys
Preview the focused blockSpace
Insert the focused blockEnter
Close the pickerEsc

Need help?

Ask the team, read what changed, or learn from the blog.