Skip to content

Tabs Section

This content is for v1.0. Switch to the latest version for up-to-date documentation.

The Tabs Section organizes content into different tabs using tab navigation. It’s perfect for structured, categorized information that benefits from a clear, organized presentation where only one section is visible at a time.



Example of Tabs Section
Example of Tabs Section

  • Type: String
  • Required: Yes
  • Purpose: Main heading for the entire tabs section
  • Example:
    Our Service Packages or Service Options

  • Type: Text
  • Required: No
  • Purpose: Description for the tabs section
  • Max Length: 500 characters
  • Example:
    Choose the right service package for your needs

  • Type: Array of objects
  • Required: Yes (minimum 1)
  • Purpose: List of tab items displayed as tabs

Each tab item includes:

  • Type: String
  • Required: Yes
  • Purpose: Headline of the tab (displayed as tab label)
  • Example:
    Basic Package
  • Type: Lucide Icon
  • Required: No
  • Purpose: Optional icon (mobile version only)
  • Source: Lucide icon library
  • Examples: Package, Star, Crown, Building
  • Type: Rich Text Section (richTextSection)
  • Required: Yes
  • Purpose: Rich text content displayed in the active tab
  • Note: Supports full formatting, images, links, etc.

  • Type: Reference (backgroundColor)
  • Required: No
  • Purpose: Sets the background color for the entire section

  • Headline: Our Service Packages
  • Description: Choose the right service package for your needs
  • Items (Tabs):
    1. “Basic Package” (Package icon)
      • Content: Details about the basic package with essential services
    2. “Standard Package” (Star icon)
      • Content: Comprehensive services with additional features
    3. “Premium Package” (Crown icon)
      • Content: Advanced solutions for businesses
    4. “Enterprise Package” (Building icon)
      • Content: Full-scale solutions with dedicated support

  • Headline: Use concise, meaningful headlines for each tab
  • Categorization: Group related content logically in tabs
  • Icons: Use icons consistently and only when they add value (mobile version only)
  • Content length: Keep content per tab focused and balanced
  • Count: 3-5 tabs are optimal for user experience
  • Equivalence: Tabs should contain equivalent content
  • Background color: Use background colors sparingly to ensure readability

  • Tab navigation: Organized content display with tab switching
  • Rich text content: Full formatting capabilities within each tab
  • Optional icons: Visual support for mobile version only
  • Structured display: Ideal for categorized, equivalent content
  • Space-efficient: Layout through tab navigation
  • Interactive: Users can switch between tabs
  • Accessible: Keyboard navigation support

  • Pages (page)
    General content pages, especially service and product pages

  • Only one tab is active at a time
  • Content uses the richTextSection type for full formatting capabilities
  • Icons (mobile version only) come from the Lucide icon library
  • Background color references the global backgroundColor schema
  • The section supports keyboard navigation for accessibility

FeatureTabs SectionAccordion Section
StructureFixed (Tabs)Fixed (Accordion)
NavigationTab navigationExpandable
VisibilityOne tab activeMultiple expandable
Rich TextYes (per tab)Yes (per item)
IconsNoYes (optional)
HeadlinesYes (per tab)Yes (per item)
Space-efficientYesYes
UsageCategorized infoStructured info

  • Content is equivalent and categorized
  • Only one area should be visible at a time
  • Content belongs together thematically
  • Clear navigation is important
  • Content is hierarchically structured
  • Multiple areas can be visible simultaneously
  • Content varies in length
  • Expandable areas are preferred