Dropdown have button shapes and are left aligned by default. Dropdown menu can also have different widths using the size
prop.
نمایش کدمخفی کردن کد
Dropdown menus can have a darker color in dark mode. Use the color
prop to change the contrast of the dropdown menu when in dark mode.
نمایش کدمخفی کردن کد
Dropdown buttons can have different colors. Use the button-color
prop to change the dropdown button color.
نمایش کدمخفی کردن کد
Dropdown can also be right aligned. Use the orientation
prop to change the alignment of the dropdown.
نمایش کدمخفی کردن کد
Dropdown can be used as context menus. Use the variant
prop with the context
value to change the dropdown to a context menu.
نمایش کدمخفی کردن کد
Dropdown can be used as context menus. You can also align it to the end
using the orientation
prop.
نمایش کدمخفی کردن کد
Dropdown can also be used as text menus. Use the variant
prop with the text
value to change the dropdown to a text menu.
نمایش کدمخفی کردن کد
Dropdown can also be used as text menus. Use the variant
prop with the text
value to change the dropdown to a text menu.
نمایش کدمخفی کردن کد
Dropdown items can have an icon. Use the start
slot to add an icon to the dropdown item.
نمایش کدمخفی کردن کد
Dropdown items can have an avatar. Use the start
slot to add an icon to the dropdown item.
نمایش کدمخفی کردن کد
Dropdown menus can have a header. Use the headerLabel
prop to add a header text to the dropdown menu.
نمایش کدمخفی کردن کد
Dropdown items can be enhanced into a checkbox wrapping them with a using a BaseCheckboxHeadless
component as well the start
item slot prop to add an inner BaseCheckbox
.
نمایش کدمخفی کردن کد
Dropdown items can be enhanced into a radio button wrapping them with a using a BaseRadioHeadless
component as well the start
item slot prop to add an inner BaseRadio
.
نمایش کدمخفی کردن کد
Dropdown items can be enhanced into a switch wrapping them with a using a BaseCheckboxHeadless
component as well the start
item slot prop to add an inner BaseSwitchThin
.
نمایش کدمخفی کردن کد
Dropdown items can be enhanced into a switch wrapping them with a using a BaseCheckboxHeadless
component as well the start
item slot prop to add an inner BaseSwitchBall
.
نمایش کدمخفی کردن کد
Dropdown menus and items can be heavily customized, using wrapping elements, scrolling areas, as well as search and actions.
نمایش کدمخفی کردن کد
classes
نمایش مثالمخفی کردن مثال
fixed
نمایش مثالمخفی کردن مثال
header-label
نمایش مثالمخفی کردن مثال
label
نمایش مثالمخفی کردن مثال
color
نمایش مثالمخفی کردن مثال
rounded
@since
2.0.0
نمایش مثالمخفی کردن مثال
placement
نمایش مثالمخفی کردن مثال
size
نمایش مثالمخفی کردن مثال
variant
@since
2.0.0
نمایش مثالمخفی کردن مثال
button-color
نمایش مثالمخفی کردن مثال
#button
نمایش مثالمخفی کردن مثال
#label
نمایش مثالمخفی کردن مثال
#default
نمایش مثالمخفی کردن مثال
color
نمایش مثالمخفی کردن مثال
rounded
نمایش مثالمخفی کردن مثال
placement
نمایش مثالمخفی کردن مثال
size
نمایش مثالمخفی کردن مثال
variant
نمایش مثالمخفی کردن مثال
buttonColor
نمایش مثالمخفی کردن مثال
classes
نمایش مثالمخفی کردن مثال
disabled
نمایش مثالمخفی کردن مثال
href
نمایش مثالمخفی کردن مثال
rel
نمایش مثالمخفی کردن مثال
target
نمایش مثالمخفی کردن مثال
text
نمایش مثالمخفی کردن مثال
title
نمایش مثالمخفی کردن مثال
to
نمایش مثالمخفی کردن مثال
type
نمایش مثالمخفی کردن مثال
color
@since
3.0.0
نمایش مثالمخفی کردن مثال
rounded
@since
2.0.0
نمایش مثالمخفی کردن مثال
contrast
نمایش مثالمخفی کردن مثال
#start
نمایش مثالمخفی کردن مثال
#default
نمایش مثالمخفی کردن مثال
#text
نمایش مثالمخفی کردن مثال
#end
نمایش مثالمخفی کردن مثال
color
نمایش مثالمخفی کردن مثال
rounded
نمایش مثالمخفی کردن مثال
contrast