Show design guidelines
Dropdown menus are typically used when you have 5-15 items to choose from. They’re used for navigation or command menus, where an action is initiated based on the selection.
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Add
Edit
Copy
Delete
Import
Export
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
<certara-dropdown> can be nested within itself using the nested attribute.
Dropdown Item
Dropdown Item
Dropdown Item
Dropdown Item
Nested Item
Nested Item
Dropdown menus are typically used when you have 5-15 items to choose from. They’re used for navigation or command menus, where an action is initiated based on the selection.
Attribute button-colorType "brand" | "danger" | "inverse" | "neutral" | "secondary" | "success"Default 'secondary'Required falseDescription Supports any color available in <certara-button>
Attribute button-labelType stringDefault undefinedRequired falseDescription
Attribute button-sizeType "lg" | "md" | "sm"Default 'md'Required falseDescription Supports any size available in <certara-button>
Attribute button-tabindexType numberDefault undefinedRequired falseDescription Set custom tabindex for the dropdown opener button
Attribute button-variantType "default" | "icon" | "icon-rounded" | "link" | "outline" | "reset"Default 'default'Required falseDescription Supports any variant available in <certara-button>
disabled
Attribute disabledType booleanDefault falseRequired falseDescription Will disable the dropdown opener button
Attribute menu-offsetType numberDefault 4Required falseDescription Separation from the opener to the menu (depends on orientation)
nested
Attribute nestedType booleanDefault falseRequired falseDescription Specify that a nested dropdown can act as a submenu item of a containing dropdown
placement
Attribute placementType "bottom-end" | "bottom-start" | "left-start" | "right-end" | "right-start" | "top-end" | "top-start"Default 'bottom-start'Required falseDescription These options will suggest a starting point for the menu position, but <certara-dropdown> will automatically position itself within the viewport to avoid appearing offscreen
position
Attribute positionType "absolute" | "fixed"Default 'absolute'Required falseDescription This can be set to fixed if the dropdown menu is clipped by a bounding parent element
showOpenerCaret
Attribute show-opener-caretType booleanDefault trueRequired falseDescription If set to false, the dropdown opener will not show a caret icon
Name Description Bubbles certaraDropdownClosetruecertaraDropdownOpentrue
There are no public methods available for this component
Name Description Main slot is reserved for <certara-dropdown-*> elements, but it does accept all children button-labelCan be used for custom label content, including icons
Dropdown items can contain interactive button actions, hyperlinks, and checkboxes
Dropdown item with target blank
active
Attribute activeType booleanDefault falseRequired falseDescription Whether the dropdown item is in an active state
description
Attribute descriptionType stringDefault undefinedRequired falseDescription Additional descriptive text that shows below the label
disabled
Attribute disabledType booleanDefault undefinedRequired falseDescription Set disabled state of control
Attribute hide-menu-on-clickType booleanDefault trueRequired falseDescription The default behavior of the dropdown menu will close when this item is clicked
href
Attribute hrefType stringDefault undefinedRequired falseDescription certara-dropdown-item renders as a <button> element by default, unless given an href
target
Attribute targetType "_blank" | "_parent" | "_self" | "_top" | "_unfencedTop"Default undefinedRequired falseDescription Target to be used in tandem with href if necessary
Name Description Bubbles certaraClickStandard event emitted when the dropdown item is clicked truecertaraDropdownItemClickInternal event emitted when the dropdown item is clicked, used by certara-dropdown true
There are no public methods available for this component
Name Description Default dropdown-item content descriptionSlot for descriptive text right-contentRight-aligned content area for buttons and additional actions
The <certara-dropdown-checkbox> uses all props from <certara-checkbox> with the exception of layout
checked
Attribute checkedType booleanDefault falseRequired falseDescription The checked state of the checkbox
description
Attribute descriptionType stringDefault undefinedRequired falseDescription Additional descriptive text that shows below the label
disabled
Attribute disabledType booleanDefault falseRequired falseDescription The disabled state of the checkbox
Attribute hide-menu-on-clickType booleanDefault falseRequired falseDescription The default behavior of the dropdown menu will close when this item is clicked
indeterminate
Attribute indeterminateType booleanDefault falseRequired falseDescription The indeterminate state of the checkbox. Can only be set via JavaScript
name
Attribute nameType stringDefault this.inputIdRequired falseDescription The name of the checkbox
value
Attribute valueType anyDefault 'on'Required falseDescription The value of the checkbox
Name Description Bubbles certaraBlurStandard event emitted when checkbox is blurred truecertaraChangeStandard event emitted when checkbox is toggled falsecertaraDropdownItemClickInternal event emitted when the dropdown item is clicked, used by certara-dropdown truecertaraFocusStandard event emitted when checkbox is focused true
There are no public methods available for this component
Name Description Default dropdown-item-checkbox content descriptionSlot for descriptive text
Section divider within a dropdown
There are no public properties available for this component
There are no events available for this component
There are no public methods available for this component
There are no slots available for this component
Grouping container within a dropdown. This provides the appropriate semantics
for a group of items with a corresponding label
headline
Attribute headlineType stringDefault undefinedRequired falseDescription
There are no events available for this component
There are no public methods available for this component
There are no slots available for this component