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