Dropdown
This is a pass through component from React-Bootstrap.
See React-Bootstrap for documentation.
Basic Usage
Any Paragon component or export may be added to the code example.
Advanced Usage
Any Paragon component or export may be added to the code example.
With IconButton
You can use Dropdown.Toggle
with IconButton component, note that all props you provide to Dropdown.Toggle
will get passed down to the IconButton
.
Any Paragon component or export may be added to the code example.
Theme Variables#
CSS Variable | Computed Value |
---|---|
| |
| |
| |
| |
| |
Props API#
This is a pass through component from React-Bootstrap, see original props documentation here.
- autoCloseDefaulttrue
string
|bool
- classNameDefault''
string
- onToggle
func
- showDefaultfalse
bool
- variantDefault'light'
enum
'light' | 'dark'
This is a pass through component from React-Bootstrap, see original props documentation here.
- as
elementType
DefaultButtonSpecifies the base element.
- bsPrefix
string
Default'dropdown-toggle'Overrides underlying component base CSS class name.
- id
string
|number
RequiredAn html id attribute, necessary for assistive technologies, such as screen readers.
Usage Insights#
Dropdown
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 8 | |
frontend-app-course-authoring | 22.8.1 | 20 | |
frontend-app-discussions | 22.7.0 | 1 | |
frontend-app-learner-dashboard | 22.9.0 | 1 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 5 | |
frontend-app-learning | 22.10.0 | 2 | |
frontend-app-library-authoring | 21.11.3 | 1 | |
frontend-app-profile | 22.10.0 | 1 | |
frontend-app-publisher | 21.13.1 | 1 | |
frontend-app-support-tools | 21.13.1 | 4 | |
frontend-component-header-edx | 21.13.1 | 2 | |
frontend-component-header | 22.10.0 | 1 | |
catalog-search | 21.13.1 | 2 | |
prospectus | 20.46.2 | 5 |
DropdownButton
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-course-authoring | 22.8.1 | 1 | |
frontend-app-discussions | 22.7.0 | 1 | |
frontend-app-learner-record | 22.10.0 | 1 | |
frontend-component-header-edx | 21.13.1 | 1 | |
frontend-component-header | 22.10.0 | 1 | |
prospectus | 20.46.2 | 2 |
DropdownDivider
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-course-authoring | 22.8.1 | 2 | |
frontend-app-discussions | 22.7.0 | 1 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 2 | |
frontend-component-header-edx | 21.13.1 | 1 |
DropdownHeader
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 1 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 1 | |
frontend-component-header-edx | 21.13.1 | 1 |
DropdownItem
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-account | 22.10.0 | 1 | |
frontend-app-admin-portal | 21.13.1 | 16 | |
frontend-app-course-authoring | 22.8.1 | 45 | |
frontend-app-discussions | 22.7.0 | 5 | |
frontend-app-learner-dashboard | 22.9.0 | 2 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 11 | |
frontend-app-learner-record | 22.10.0 | 1 | |
frontend-app-learning | 22.10.0 | 2 | |
frontend-app-library-authoring | 21.11.3 | 2 | |
frontend-app-profile | 22.10.0 | 2 | |
frontend-app-publisher | 21.13.1 | 1 | |
frontend-app-support-tools | 21.13.1 | 8 | |
frontend-component-header-edx | 21.13.1 | 12 | |
frontend-component-header | 22.10.0 | 2 | |
catalog-search | 21.13.1 | 6 | |
prospectus | 20.46.2 | 6 |
DropdownMenu
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 8 | |
frontend-app-course-authoring | 22.8.1 | 18 | |
frontend-app-discussions | 22.7.0 | 1 | |
frontend-app-learner-dashboard | 22.9.0 | 1 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 5 | |
frontend-app-learning | 22.10.0 | 2 | |
frontend-app-library-authoring | 21.11.3 | 1 | |
frontend-app-profile | 22.10.0 | 1 | |
frontend-app-publisher | 21.13.1 | 1 | |
frontend-app-support-tools | 21.13.1 | 4 | |
frontend-component-header-edx | 21.13.1 | 2 | |
frontend-component-header | 22.10.0 | 1 | |
catalog-search | 21.13.1 | 2 | |
prospectus | 20.46.2 | 5 |
DropdownToggle
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 8 | |
frontend-app-course-authoring | 22.8.1 | 18 | |
frontend-app-discussions | 22.7.0 | 1 | |
frontend-app-learner-dashboard | 22.9.0 | 1 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 5 | |
frontend-app-learning | 22.10.0 | 2 | |
frontend-app-library-authoring | 21.11.3 | 1 | |
frontend-app-profile | 22.10.0 | 1 | |
frontend-app-publisher | 21.13.1 | 1 | |
frontend-app-support-tools | 21.13.1 | 4 | |
frontend-component-header-edx | 21.13.1 | 2 | |
frontend-component-header | 22.10.0 | 1 | |
catalog-search | 21.13.1 | 2 | |
prospectus | 20.46.2 | 5 |