Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 2.1 KB

File metadata and controls

37 lines (20 loc) · 2.1 KB
description
Set a radius, colour, width and more.

Borders

In Elements, borders are easy to add, customize, and control, allowing you to create clean and consistent boundaries around components with minimal effort. Elements provides a range of options for setting border width, border color, border style, and even border radius (for rounded corners). This flexibility makes it simple to define borders that suit your design, from subtle outlines to bold accents.

{% embed url="https://youtu.be/PaWL7Vieoh8?si=Y56iftuks4qwy6z1" %}

Type

Specify if the component has effects enabled or disabled. The Hover effect works in conjuction with Transitions.

Type PropertiesDescription
NoneNo effect classes will be applied to the component.
StaticEnable effects.
HoverEnable Start and End state hover effects.

Style

The Style control allows you to choose between three distict border styles, solid, dashed, and dotted.

Style PropertiesDescription
SolidNo effect classes will be applied to the component.
DashedEnable effects.
DottedEnable Start and End state hover effects.

Colour and Opacity

Define a colour and oppacity for the border. Colour swatches are defined in the Theme Studio.

Width

The Width property controls the thickness of the border. Width can be set for all four sides of an element—top, right, bottom, and left—or individually for each side. A custom pixel value can also be set.

Radius

The Radius property controls the roundness of the border. Radius can be set for all four sides of an element—top, right, bottom, and left—or individually for each side. A custom pixel value can also be set.

Border UI in Elements