The Tabs block groups related content into a row of tabs, letting readers switch between sections without leaving the page. Each tab has its own panel that can hold almost any block — text, images, galleries, curated post lists, embeds. It lives in the Lede block category and is available on pages, including your homepage.
Adding tabs and naming them
Insert the block and you get three tabs to start. To rename one, click its label and type — the label is edited directly on the tab, not in a settings field.
To add a tab, click the + at the end of the tab row. To remove one, select it and delete it as you would any block. To change the order, select a tab and use the move controls in its toolbar.
Every tab has a matching panel, and the block keeps the two in step for you. Adding a tab creates its panel, deleting a tab removes its panel, and reordering tabs reorders the panels to match. Duplicating a tab copies its panel content as well, which is the quickest way to build a tab that is similar to one you already have.
A Tabs block can have up to five tabs. Five is a deliberate limit — a longer row is hard to scan and hard to use on a phone.
Adding content to a tab
Click a tab to open its panel, then add blocks inside it exactly as you would anywhere else on the page. Only the open tab’s panel is shown while you work, so the editor stays close to what a reader will see.
Clicking between tabs is just a preview — it does not change the page, and it will not mark your page as having unsaved changes.
A panel accepts the same blocks as the rest of the page, with one exception: you cannot put a Tabs block inside a tab panel.
Styling the tabs
Tab styling is set on the tabs themselves. Select a single tab and you get the standard controls for colour, typography, border and padding. Border radius is per-corner, so you can round only the top of a tab for a classic folder look.
To style every tab the same way, set one tab up as you want it, then use Copy styles on that tab and Paste styles onto the others.
Two settings apply to the whole block rather than one tab. Select the Tabs block itself to find them:
- Active tab background and Active tab text, in the Color panel, set how the open tab looks. These apply to whichever tab is open, so you only set them once.
- Stretch tabs to full width makes the tabs divide the row evenly instead of sizing to their labels.
The space between tabs is set on the tab row: select it and use Block spacing under Dimensions. The Tabs block itself also supports wide and full alignment, plus its own margin and padding.
If you set colours on individual tabs, set the active tab colours too. Without them, the open tab is marked only by its underline and bolder label, which can be easy to miss against a strongly coloured row.
What readers see
The first tab is open when the page loads. Readers switch tabs by clicking, or with the arrow keys once a tab is focused — Home and End jump to the first and last tab.
If the tabs are wider than the space available — on a phone, or with long labels — the row scrolls sideways rather than wrapping onto a second line. This keeps the block the same height however many tabs it has, so nothing below it shifts around.
Two things worth knowing about how the block is built:
- All of the content is in the page, not just the open tab, so search engines index everything in every tab.
- Images in closed tabs are not downloaded until a reader opens that tab, so extra tabs cost your readers nothing until they are used.