Tabs Widget
The Tabs widget allows you to organize content into multiple tabbed sections, providing an intuitive way to display related information in a compact interface.
OverviewDirect link to Overview
The Tabs widget creates an interactive tabbed interface where users can switch between different content sections. Each tab can contain any combination of other widgets and can be greyed out by an activation rule. The widget itself supports dynamic visibility, validation rules, and custom styling.

Basic ConfigurationDirect link to Basic Configuration
Global SettingsDirect link to Global Settings
Name
- Description: Display name for the widget
- Usage: Used for identification in the interface builder
Variable/Model
- Description: The data model path that stores the active tab ID
- Format: String value representing the currently selected tab
- Example:
selectedTab

Tab ManagementDirect link to Tab Management
Tab Names ConfigurationDirect link to Tab Names Configuration
The Tab names section of the configuration panel shows one card per tab. Each tab has the following properties:
Title
- Description: The text shown on the tab header, in bold on the card
- Type: Plain text, translated by the dictionary of the page. A
{{variable}}is shown as written, it is not replaced - Example: "User Information", "Settings"
ID
- Description: Unique identifier for the tab, in monospace on the card. It is the value of the widget model while the tab is open: give this value to the model to open the tab
- Type: String
- Example: "user_info", "settings"
Activation Rule
- Description: A JavaScript condition that decides whether the tab is available. A false rule greys the tab out: it stays in the header but cannot be opened. The rule does not hide the tab
- Format: Boolean expression or JavaScript code, for instance
{{userRole}} === 'admin'. Without a rule, the tab is always available - Access: The eye button of the card. It turns blue when a rule is set, and the rule shows when you hover over it

Adding and Managing TabsDirect link to Adding and Managing Tabs
- Tabs are displayed in a draggable list in the configuration panel
- Use the drag handle (bars icon) to reorder tabs
- Each tab card shows:
- Drag handle for reordering
- Title, above the ID
- Eye button for the activation rule
- Bin button to delete the tab
- Add a tab, under the cards, adds a tab and opens it on the canvas. A hint line below it recalls what the ID is for
The bin asks for a confirmation, Delete the tab “X”?, which says how many widgets are deleted with the tab. The bin of the last tab is greyed out, and its tooltip explains why: A tabs widget keeps at least one tab: delete the widget to remove them all.
When the widget is selected, the − button on the canvas deletes the open tab at once: it asks for no confirmation, and it also deletes the last tab. To keep these checks, delete tabs with the bin of the panel.

Content ConfigurationDirect link to Content Configuration
Each tab can contain any widgets available in the platform. The content is managed through the main widget tree structure where each tab acts as a container for its child widgets.
Validation ScreenDirect link to Validation Screen
The tabs widget supports comprehensive validation across different screen:
Validation OptionsDirect link to Validation Options
Available
- Description: Controls whether the widget exists on specific screens
- Type: Boolean switch
- Default: true
Visible
- Description: Controls widget visibility with support for advanced conditions
- Options:
- Simple: Boolean switch
- Advanced: JavaScript expressions using interface variables
- Syntax: Use
{{variableName}}to reference other interface variables - Example:
{{userRole}} === 'admin'
Required
- Description: Makes the widget mandatory (applies to child form elements)
- Type: Boolean or conditional expression
- Note: Inherits to all form elements within tabs
Disable/Collapse
- Description: Controls whether the widget is disabled or collapsed
- Type: Boolean switch or conditional expression

Advanced ConditionsDirect link to Advanced Conditions
Click "Advanced Setting" to use JavaScript expressions for dynamic behavior:
- Reference any interface variable using
{{variableName}}syntax - Support for complex logical operations
- Can be applied to individual screens or all screens at once

Styling and AppearanceDirect link to Styling and Appearance
Layout OptionsDirect link to Layout Options
Class Names
- Description: Apply custom CSS classes to the tabs container
- Format: Space-separated class names
- Example:
custom-tabs highlighted
Dynamic Classes
- Description: Apply classes based on interface state
- Access: Click the paint brush icon next to the Class field
- Format: JavaScript expressions returning class names
- Syntax: Reference variables with
{{variableName}}

Built-in StylingDirect link to Built-in Styling
The widget automatically applies:
- Element UI tabs styling (
el-tabs) - Responsive behavior for different screen sizes
- Custom visibility classes (
sf_tabs_visibility)
Integration FeaturesDirect link to Integration Features
Form IntegrationDirect link to Form Integration
When tabs contain form elements:
- Validation rules cascade to child elements
- Form submission includes data from all tabs
- Required validation applies across tab boundaries
Variable BindingDirect link to Variable Binding
- The widget's model variable stores the currently active tab ID
- Changes trigger reactive updates throughout the interface
- Can be used in conditions for other widgets
Best PracticesDirect link to Best Practices
Tab OrganizationDirect link to Tab Organization
- Logical Grouping: Group related content together
- Clear Naming: Use descriptive tab titles
- Consistent IDs: Follow a naming convention for tab IDs
Performance ConsiderationsDirect link to Performance Considerations
- Content Loading: Consider lazy loading for tabs with heavy content
- Validation: Use tab-specific validation when possible
- Responsive Design: Test tab behavior across different screen sizes
User ExperienceDirect link to User Experience
- Tab Count: Limit to 5-7 tabs for optimal usability
- Default Selection: Set appropriate default active tab
- Progress Indication: Use validation states to show completion
TroubleshootingDirect link to Troubleshooting
Common IssuesDirect link to Common Issues
Tab Not Switching
- Check that the model variable is properly bound
- Verify onClick event configuration
- Ensure no JavaScript errors in custom handlers
Content Not Displaying
- Verify child widgets are properly configured
- Check validation rules on tab content
- Confirm screen-specific availability settings
Styling Issues
- Check CSS class conflicts
- Verify responsive behavior settings
- Test across different screen sizes
Debugging TipsDirect link to Debugging Tips
- Console Logging: Add console.log statements in onClick handlers
- Variable Inspection: Monitor the model variable in browser dev tools
- Validation Testing: Test all validation scenarios across screens
- Responsive Testing: Use browser dev tools to simulate different devices
Advanced ConfigurationDirect link to Advanced Configuration
Dynamic Tab CreationDirect link to Dynamic Tab Creation
For advanced use cases, tabs can be generated dynamically based on data arrays using the interface's loop functionality.
Integration with Other WidgetsDirect link to Integration with Other Widgets
Tabs can contain any other widgets including:
- Grids and forms
- Data tables
- Charts and media
- Other container widgets
Custom Event HandlingDirect link to Custom Event Handling
Advanced users can implement custom tab switching logic through the action system and custom JavaScript functions.