Overview
Tabs refer to a navigation element that allows are a group of tab component used to navigate and allow users to switch between different views or sections within the same layout. Each tab represents a different distinct section or category, and clicking on selecting a tab displays the content associated with that tab its associated content while hiding the content of other tabs.
Tabs are often used to help organize content into manageable chunks, making it easier for sections, enabling users to navigate and find access information efficiently without having to load loading new pages or screens.
...
Attributes
Attributes are the options available for each component, allowing you to customize its appearance and control their behavior. It includes various sections explained below.
Basic:
...
Attribute Name
Description
Attribute Name | Description |
---|---|
Default Tab | If you have multiple tabs, select the number to set the default tab. |
Overflow Limit | This feature lets you control the number of tab. Setting the limit to 1 will show only one tab, with other appearing in a dropdown menu. |
UI Attribute
Component Size |
|
|
This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.
Note: Currently, we support Component Size 1 for Section. All other sizes will throw an error alert displaying Max allowed value is 1.
Padding Location
"Padding Location" typically refers to the configuration of spacing around elements
Padding Size
"Padding Size" refers to the amount of space added inside an element, between the element's content and its border or edge.
Margin Location
"Margin Location" refers to the spacing around the outside edge of an element
Margin Size
"Margin Size" refers to the amount of space around the outside edges of an element,
Style
It is used to apply custom styles to section, such as color, font, size, and more.
It allows you to define the appearance of a component by specifying CSS properties directly within the attribute.
Classes
It is used to apply SLDS classes to section, if needed
| |||||||||||
Layout Type | It is used to set the layout type in two ways as:
|
Note: By default, this attribute is set to a value of Grid Layout Type. | |
Default Tab | If you have multiple tabs, select the number to set the default tab. |
Overflow Limit | This feature lets you control the number of tab. Setting the limit to 1 will show only one tab, with other appearing in a dropdown menu. |
Config:
...
Attribute Name | Description |
---|---|
Show As Wizard | Enables a step-by-step navigation experience within the tabs. |
Visibility and Components Attributes:
...
When enabled, users can progress through steps in a structured manner | |
Allow Invalid Switch | Allows users to move between tabs even if the current step contains validation errors |
Allow Switch by Tab | Enables users to navigate between steps using tab selection. Users can switch steps by clicking on tabs instead of using navigation buttons |
Hide Progress Indicator | If checked, the progress indicator that visually represents the steps in the wizard will be hidden |
Show Submit | Displays the submit button within the wizard interface, allowing users to complete the form submission |
Submit Label | Defines the label text for the submit button, enabling customization with merge text |
Save on Switch | Automatically saves the progress when switching between steps to prevent data loss |
Override Next | Allows customization of the "Next" button’s behavior, enabling users to define specific actions when proceeding to the next step |
Override Previous | Allows customization of the "Previous" button’s behavior, enabling users to define specific actions when navigating back to a previous step |
UI State:
...
It simply shows the name of the component.
Attribute Group | Attribute Name | Description | ||||
Visibility | Visibility Type | It determines whether a component is visible on the layout. It offers the following visibility types:
| Component | Component Label |
...
Base UI:
...
Attribute Name | Description |
---|---|
Margin Location | "Margin Location" refers to the spacing around the outside edge of an element |
Margin Size | "Margin Size" refers to the amount of space around the outside edges of an element |
Note: After clicking inside the tab section on the layout, you will see the tab configuration
Events:
Events are essentially the automation of invoking the component's actions.
Here, only onload event actions are available for this components.
In the image below, you can select the created workflows.
...
Note: "You need to create a workflow for selecting from this list.
For more information about Workflow check this out.
Info |
---|
Reference: Workflow |
onload Events:
We have an onload event that runs when the component is loaded
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
For example, when a form is loaded, you can choose fields to be prepopulated by mapping field values using input mapping at the time the form component is loaded. |
Input Mapping
...
Input Mapping: "Whenever an event is triggered and you want to pass data to destinations such as models, variables, or components, you can use input mapping to achieve that.
...
.
Tab Configurations
...
Include Page | ||||
---|---|---|---|---|
|
Events
Include Page | ||||
---|---|---|---|---|
|