Theme

npm_versionnpm Paragon package page

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 VariableComputed Value










Props API#

Dropdown Props API

This is a pass through component from React-Bootstrap, see original props documentation here.

  • autoClose string | bool
    Defaulttrue
  • className string
    Default''
  • onToggle func
  • show bool
    Defaultfalse
  • variant enum'light' | 'dark'
    Default'light'
DropdownToggle Props API

This is a pass through component from React-Bootstrap, see original props documentation here.

  • as elementType

    Specifies the base element.

    DefaultButton
  • bsPrefix string

    Overrides underlying component base CSS class name.

    Default'dropdown-toggle'
  • id string | number Required

    An html id attribute, necessary for assistive technologies, such as screen readers.

Usage Insights#

Dropdown

Project NameParagon VersionInstance Count
frontend-app-admin-portal21.13.18
frontend-app-course-authoring22.8.120
frontend-app-discussions22.7.01
frontend-app-learner-dashboard22.9.01
frontend-app-learner-portal-enterprise21.13.15
frontend-app-learning22.10.02
frontend-app-library-authoring21.11.31
frontend-app-profile22.10.01
frontend-app-publisher21.13.11
frontend-app-support-tools21.13.14
frontend-component-header-edx21.13.12
frontend-component-header22.10.01
catalog-search21.13.12
prospectus20.46.25

DropdownButton

Project NameParagon VersionInstance Count
frontend-app-course-authoring22.8.11
frontend-app-discussions22.7.01
frontend-app-learner-record22.10.01
frontend-component-header-edx21.13.11
frontend-component-header22.10.01
prospectus20.46.22

DropdownDivider

Project NameParagon VersionInstance Count
frontend-app-course-authoring22.8.12
frontend-app-discussions22.7.01
frontend-app-learner-portal-enterprise21.13.12
frontend-component-header-edx21.13.11

DropdownHeader

Project NameParagon VersionInstance Count
frontend-app-admin-portal21.13.11
frontend-app-learner-portal-enterprise21.13.11
frontend-component-header-edx21.13.11

DropdownItem

Project NameParagon VersionInstance Count
frontend-app-account22.10.01
frontend-app-admin-portal21.13.116
frontend-app-course-authoring22.8.145
frontend-app-discussions22.7.05
frontend-app-learner-dashboard22.9.02
frontend-app-learner-portal-enterprise21.13.111
frontend-app-learner-record22.10.01
frontend-app-learning22.10.02
frontend-app-library-authoring21.11.32
frontend-app-profile22.10.02
frontend-app-publisher21.13.11
frontend-app-support-tools21.13.18
frontend-component-header-edx21.13.112
frontend-component-header22.10.02
catalog-search21.13.16
prospectus20.46.26

DropdownMenu

Project NameParagon VersionInstance Count
frontend-app-admin-portal21.13.18
frontend-app-course-authoring22.8.118
frontend-app-discussions22.7.01
frontend-app-learner-dashboard22.9.01
frontend-app-learner-portal-enterprise21.13.15
frontend-app-learning22.10.02
frontend-app-library-authoring21.11.31
frontend-app-profile22.10.01
frontend-app-publisher21.13.11
frontend-app-support-tools21.13.14
frontend-component-header-edx21.13.12
frontend-component-header22.10.01
catalog-search21.13.12
prospectus20.46.25

DropdownToggle

Project NameParagon VersionInstance Count
frontend-app-admin-portal21.13.18
frontend-app-course-authoring22.8.118
frontend-app-discussions22.7.01
frontend-app-learner-dashboard22.9.01
frontend-app-learner-portal-enterprise21.13.15
frontend-app-learning22.10.02
frontend-app-library-authoring21.11.31
frontend-app-profile22.10.01
frontend-app-publisher21.13.11
frontend-app-support-tools21.13.14
frontend-component-header-edx21.13.12
frontend-component-header22.10.01
catalog-search21.13.12
prospectus20.46.25