DropDownList Appearance
The DropDownList provides predefined appearance options such as different sizes, border radiuses and fill modes.
The following example demonstrates all available appearance options of the DropDownList in action.
Size
The DropDownList allows you to set its size
.
The size
input supports values of type DropDownSize
:
small
medium
(default)large
none
—The none option removes the built-in sizing of the DropDownList. Allows for custom font size and line height.
The following example demonstrates how to define the size of the DropDownList.
Rounded
The DropDownList enables you to apply different border radius
to the component through the rounded
property. It accepts values of type DropDownRounded
.
The rounded
option supports the following values:
small
medium
(default)large
full
none
—The none option removes the built-in rounded of the DropDownList. Allows for customborder radius
.
The following example demonstrates how to define the border radius of the DropDownList.
Fill Mode
The DropDownList allows you to set different fill modes by using the fillMode
property. It accepts values of type DropDownFillMode
.
The fillMode
option supports the following values:
flat
—Sets atransparent background
andsolid bottom border
.solid
(default)—Applies abackground
color andsolid borders
.outline
—Sets atransparent background
andsolid borders
.none
—The none option removes the built-in fill mode styles of the DropDownList. Allows for custombackground
andborder
styles.
The following example demonstrates how to define the fill mode of the DropDownList.