Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 20 Next »

Overview

Badges are colored text elements containing small bits of information. They are used for labeling content, displaying metadata, and highlighting information.

Steps for configuration:

  • Go to Component

  • Search the badge component drag and drop the badge component in the Layout

Configurations of a badge component 

  • Label: A badge label is used to give the identity of a badge, which is displayed on the UI and its editable

  • Variant: Users can set various types of variants for the badge which is displayed in different color formats according to their conditions

    • The badge comes in a five variants

      • Default: Default is used to display the default color of the badge, which is displayed in white color

      • Inverse: If the user selects the inverse from the drop-down then the badge will be displayed in grey color

      • Lightest: If the user selects the lightest from the drop-down then the badge will be displayed in white color

      • Success: If the user selects the success from the drop-down then the badge will be displayed in green color

      • Warning: If the user selects the warning from the drop-down then the badge will be displayed in orange color

      • Error: If the user selects the error from the drop-down then the badge will be displayed in red color

  • No Left Icon:  If the checkbox is true, then the left icon is not displayed

  • Left Icon: This is an icon selector using which we can select the icon we want to be displayed on the left side of the badge

  • No Right Icon: If the checkbox is true, then the right icon is not displayed

  • Right Icon: This is an icon selector using which we can select the icon we want to be displayed on the right side of the badge

 

How to Configure:

  1. Goto Components tab

  2. Search and select the component

  3. Drag and drop the component in the layout. You can also select the drop zone in a layout and then click on the component it will add in place of the drop zone

Following are the common configurations of components on the layout:

  • UI:

    • Component Size: The user can modify the size of the component in the layout as per grid size

    • Padding Location: Defines the position of the padding for a component. The padding creates extra space within a component.

      • Around: Creates padding around the component

      • Top: Creates padding at the top of the component

      • Left: Creates padding at the left side of the component

      • Bottom: Creates padding at the bottom of the component

      • Right: Creates padding at the right side of the component

      • Horizontal: Creates padding horizontally

      • Vertical: Creates padding vertically

    • Padding Size: The padding size of the component can be set to:

      • None

      • xxx-small

      • xx-small

      • x-small

      • Small

      • Medium

      • Large

      • x-large

      • xx-large

    • Style: Styles described how fields should be rendered in preview mode. Users need to create one cdn link from the CSS tab on the layout designer page for use styles

    • Classes: Classes are used to apply unique styling and formatting to the fields in preview mode. Users need to create one cdn link from the CSS tab on the layout designer page for using classes

    • Margin Location: Defines the position of the margin for a component. margin creates extra space around a component.

      • Around: Margin gets added around the component

      • Top: Margin gets added at the top of the component

      • Left: Margin gets added at the left side of the component

      • Bottom: Margin gets added at the bottom of the component

      • Right: Margin gets added at the right side of the component

      • Horizontal: Margin gets added horizontally

      • Vertical: Margin gets added vertically

    • Margin Size: The margin size of the view can be set to:

      • None

      • xxx-small

      • xx-small

      • x-small

      • Small

      • Medium

      • Large

      • x-large

      • xx-large

    • Visibility:

      • Never: The field cannot be visible

      • Always: The field will be always visible

      • Conditional: Depending on the visibility criteria, the field can be set as visible or not

    • Read-only:

      • Never: The field cannot be read-only

      • Always: The field will be always read-only

      • Conditional: Depending on the read-only criteria, the field can be set as read-only or not 

    • Disable:

      • Never: The field cannot be disabled

      • Always: The field will be always disabled

      • Conditional: Depending on the disability criteria, the field can be set as disabled or not

    • New Section:

      • Layout item Label: This field show the name of the components with the count of its usage e.g: if you are adding the section for third time in a layout then it will display with label of Section 3

 

 

 

 

 

  • No labels