Skip to main content

Dropdown

A dropdown component is a UI element that can open or close based on a trigger state. It can be used to filter or sort contents on a page.

Variants

Props

---yet to be updated ---

PropsDatatypeValues/Example
typestring"primary" | "dark" | "danger" | "transparent" | "other" | "icon"
disabledboolean"true" | "false"
loaderboolean"true" | "false"
titlestring"Cancel"
onClickfunctionfunction from parent component
textStylePropObjectfont-size: var(--base-text)