Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attributes are the options available for each component, allowing you to customize its appearance and functionality. They help you tailor the look and behavior of your components to fit your needs.

Basic:

...

Attribute Name

Description

Component Size

  • This allows users to modify the size of a specific component according to the grid size of layout.

  • This feature allows for flexible customization, enabling users to resize components to fit their specific needs within the defined grid structure.

Panel
panelIconId1f5e8
panelIcon:speech_left:
panelIconText🗨️
bgColor#F4F5F7

For example,
If the layout grid size is 3 then layout is divided into 3 sections then you can changes the components size between 1 to 3.

Actions

  • You can include multiple actions, each displayed as a button. Clicking a button initiates a specific action or workflow.

  • You have the option to add multiple actions. To create a new action, simply click on the + icon.

Note: After creating the action, it will be displayed on the canvas.

Info

Reference: Button Action

Overflow After

This feature allows you to control the number of actions displayed. Setting the limit to 1 will show only one action, with additional actions appearing in a drop-down menu.

Alignment

Here, you can adjust the button alignment.

  • Left Alignment: The buttons will be aligned to the left side of the section where they are placed.

  • Center Alignment: The buttons will be aligned to centre of the section.

  • Right Alignment: The buttons will be aligned to the right side of the section.

Base UI

...

:

image-20240820-080855.pngImage Removed

...

image-20240925-150752.pngImage Added

UI

This allows users to modify the size of a Button within the layout according to the grid size.

Attribute Name

Description

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.

    Margin Location

    "Margin Location" refers to the spacing around the outside edge of an Button

    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.

    • You can explore more about Styles attribute

    Classes

    It is used to apply SLDS classes to section, if needed.

    ...

    UI State:

    ...

    Attribute Name

    Description

    Visibility Visibility Type

    It determines whether a component is visible on the layout. It offers the following visibility types:

    1. Always: The component will always be visible.

    2. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
      You can explore more about Visibility Type here.

    Info

    Reference: Conditional visibility

    Component

    Component Label

    It simply shows the name of the component. Disability Type

    It determines whether a component is disable on the layout. It offers the following visibility types:

    1. Never: There is no disable option for this component

    2. Always: The component will always be visible.

    3. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
      You can explore more about Visibility Type attribute.

    Info

    Reference: Conditional Disability

    Button Action:

    Attributes

    Description

    Label

    A Label is the name shown to users and can come from various sources.

    Info

    Reference: Label Source Type

    Name

    Enter a unique the name for your action.

    Icon

    This option lets you choose from various icons to add to the action button.

    Variant

    This feature allows users to change the appearance of the action button.

    1. Neutral

    2. Brand

    3. Outline Brand

    4. Success

    5. Destructive

    Visibility Type

    It determines whether a component is visible on the layout. It offers the following visibility types:

    1. Always: The component will always be visible.

    2. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
      You can explore more about Visibility Type attribute

    Disability Type

    It determines whether a component is disable on the layout. It offers the following visibility types:

    1. Never: There is no disable option for this component

    2. Always: The component will always be visible.

    3. Conditional: The component's visibility is determined based on specific criteria, which can make it either visible or hidden as needed.
      You can explore more about Visibility Type attribute.

    ...