Logo
NeoArc Studio

Tabs Block

Organise content into tabbed sections. Each tab has a label and content area. Readers can switch between tabs without scrolling. The default active tab is configurable.

Tabs present multiple content sections in a compact space, allowing readers to switch between views without scrolling. Use them when content can be logically grouped into parallel categories.

When to Use

Block Properties

PropertyRequiredDescription
TabsYesArray of tab items, each with label and content
Default Active IndexNoWhich tab appears selected on page load (0-based index)

Tab Item Properties

PropertyRequiredDescription
LabelYesThe tab header text (always visible)
ContentYesRich text content shown when the tab is selected

Example: Installation Instructions

Platform-specific installation commands organised by operating system.

Example: Code Samples

The same API call demonstrated in different programming languages.

Example: User Roles

Different instructions based on the reader's role in the organisation.

Editing Tabs

ActionHow To
Select TabClick a tab header to select it and edit its content
Edit LabelEdit tab labels inline in the header area
Add TabClick the + button to add a new tab
Remove TabHover over a tab and click the X to remove it (minimum one tab required)
Set DefaultThe currently selected tab becomes the default active tab when published

Tabs vs Accordions

CriteriaChoose TabsChoose Accordions
Selection ModeReaders need one section at a timeReaders may need multiple sections open
VisibilityAll options equally visibleSections can vary in importance
Content LengthSections are roughly similar lengthSections vary significantly in length
Section CountFew sections that fit in tab barMany sections that would overflow