DropDownButton

DropDownButtons allow the user to choose an option from a popup list with predefined menu items.

Sass Variables

The Telerik and Kendo UI DropDownButton is a composite UI component that consists of button and drop-down menu elements and a Popup component. To configure and customize its appearance, use not only its dedicated Sass variables but also the Menu Sass variables, as well as the Sass variables provided by the Popup and Button components.

DropDownButton Variables

VariableDefault ValueComputed ValueValue
kendo-menu-button-arrow-padding-x$kendo-button-padding-y4pxDefault: $kendo-button-padding-yComputed: 4px
Description: The horizontal padding of the button arrow in the Menu Button..

Menu Variables

VariableDefault ValueComputed ValueValue
kendo-menu-popup-padding-xnullnullDefault: nullComputed: null
Description: Horizontal padding of the menu popup.
kendo-menu-popup-padding-ynullnullDefault: nullComputed: null
Description: Vertical padding of the menu popup.
kendo-menu-popup-border-width$kendo-popup-border-width1pxDefault: $kendo-popup-border-widthComputed: 1px
Description: Width of the border around the menu popup.
kendo-menu-popup-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: Font sizes of the menu popup.
kendo-menu-popup-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: Line heights used along with $kendo-font-size.
kendo-menu-popup-bg$kendo-popup-bg #ffffffDefault: $kendo-popup-bgComputed: #ffffff
Description: The background of the menu popup.
kendo-menu-popup-text$kendo-popup-text #424242Default: $kendo-popup-textComputed: #424242
Description: The text color of the menu popup.
kendo-menu-popup-border$kendo-popup-border rgba(0, 0, 0, 0.08)Default: $kendo-popup-borderComputed: rgba(0, 0, 0, 0.08)
Description: The border color of the menu popup.
kendo-menu-popup-gradientnullnullDefault: nullComputed: null
Description: The background gradient of the menu popup.
kendo-menu-popup-item-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: Horizontal padding of the menu item in popup.
kendo-menu-popup-item-padding-yk-map-get( $kendo-spacing, 1 )4pxDefault: k-map-get( $kendo-spacing, 1 )Computed: 4px
Description: Vertical padding of the menu item in popup.
kendo-menu-popup-item-padding-endcalc( #{$kendo-menu-popup-item-padding-x * 2} + #{$kendo-icon-size} )calc(16px + 16px)Default: calc( #{$kendo-menu-popup-item-padding-x * 2} + #{$kendo-icon-size} )Computed: calc(16px + 16px)
Description: The end padding of the menu item in popup.
kendo-menu-popup-sm-item-icon-margin-start$kendo-menu-popup-sm-item-padding-x8pxDefault: $kendo-menu-popup-sm-item-padding-xComputed: 8px
Description: The start margin of the menu item expand icon.
kendo-menu-popup-sm-item-icon-margin-endcalc( -1 * (#{$kendo-menu-popup-sm-item-padding-end} - #{k-math-div( $kendo-menu-popup-sm-item-padding-x, 2 )}) )calc(-1 * (calc(16px + 16px) - 4px))Default: calc( -1 * (#{$kendo-menu-popup-sm-item-padding-end} - #{k-math-div( $kendo-menu-popup-sm-item-padding-x, 2 )}) )Computed: calc(-1 * (calc(16px + 16px) - 4px))
Description: The end margin of the menu item expand icon.
kendo-menu-popup-item-spacing0px0pxDefault: 0pxComputed: 0px
Description: The spacing between the menu items in popup.
kendo-menu-popup-item-bgnullnullDefault: nullComputed: null
Description: The background of the menu item in popup.
kendo-menu-popup-item-textnullnullDefault: nullComputed: null
Description: The text color of the menu item in popup.
kendo-menu-popup-item-bordernullnullDefault: nullComputed: null
Description: The border color of the menu item in popup.
kendo-menu-popup-item-gradientnullnullDefault: nullComputed: null
Description: The background gradient of the menu item in popup.
kendo-menu-popup-item-hover-bg$kendo-list-item-hover-bg #f0f0f0Default: $kendo-list-item-hover-bgComputed: #f0f0f0
Description: The background of hovered menu item in popup.
kendo-menu-popup-item-hover-text$kendo-list-item-hover-text #424242Default: $kendo-list-item-hover-textComputed: #424242
Description: The text color of hovered menu item in popup.
kendo-menu-popup-item-hover-bordernullnullDefault: nullComputed: null
Description: The border color of hovered menu item in popup.
kendo-menu-popup-item-hover-gradientnullnullDefault: nullComputed: null
Description: The background gradient of hovered menu item in popup.
kendo-menu-popup-item-expanded-bg$kendo-list-item-selected-bg #ff6358Default: $kendo-list-item-selected-bgComputed: #ff6358
Description: The background of expanded menu item in popup.
kendo-menu-popup-item-expanded-text$kendo-list-item-selected-text whiteDefault: $kendo-list-item-selected-textComputed: white
Description: The text color of expanded menu item in popup.
kendo-menu-popup-item-expanded-bordernullnullDefault: nullComputed: null
Description: The border color of expanded menu item in popup.
kendo-menu-popup-item-expanded-gradientnullnullDefault: nullComputed: null
Description: The background gradient of expanded menu item in popup.
kendo-menu-popup-item-focus-shadow$kendo-menu-item-focus-shadowinset 0 0 0 2px rgba(0, 0, 0, 0.12)Default: $kendo-menu-item-focus-shadowComputed: inset 0 0 0 2px rgba(0, 0, 0, 0.12)
Description: The base shadow of focused menu item in popup.

Popup Variables

VariableDefault ValueComputed ValueValue
kendo-popup-padding-xnullnullDefault: nullComputed: null
Description: Horizontal padding of the popup.
kendo-popup-padding-ynullnullDefault: nullComputed: null
Description: Vertical padding of the popup.
kendo-popup-border-width1px1pxDefault: 1pxComputed: 1px
Description: Width of the border around the popup.
kendo-popup-border-radiusnullnullDefault: nullComputed: null
Description: Border radius of the popup.
kendo-popup-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: Font size of the popup.
kendo-popup-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: Line height of the popup.
kendo-popup-content-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: Horizontal padding of the popup content.
kendo-popup-content-padding-yk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: Vertical padding of the popup content.
kendo-popup-bg$kendo-component-bg #ffffffDefault: $kendo-component-bgComputed: #ffffff
Description: Background color of the popup.
kendo-popup-text$kendo-component-text #424242Default: $kendo-component-textComputed: #424242
Description: Text color of the popup.
kendo-popup-border$kendo-component-border rgba(0, 0, 0, 0.08)Default: $kendo-component-borderComputed: rgba(0, 0, 0, 0.08)
Description: Border color of the popup.
kendo-popup-shadowk-elevation(4)var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12))Default: k-elevation(4)Computed: var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12))
Description: Box shadow of the popup.

Button Variables

VariableDefault ValueComputed ValueValue
kendo-button-border-width1px1pxDefault: 1pxComputed: 1px
Description: The width of the border around the Button.
kendo-button-border-radiusnullnullDefault: nullComputed: null
Description: The border radius of the Button.
kendo-button-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the Button.
kendo-button-sm-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the small Button.
kendo-button-md-padding-x$kendo-button-padding-x8pxDefault: $kendo-button-padding-xComputed: 8px
Description: The horizontal padding of the medium Button.
kendo-button-lg-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the large Button.
kendo-button-padding-yk-map-get( $kendo-spacing, 1 )4pxDefault: k-map-get( $kendo-spacing, 1 )Computed: 4px
Description: The vertical padding of the Button.
kendo-button-sm-padding-yk-map-get( $kendo-spacing, 0.5 )2pxDefault: k-map-get( $kendo-spacing, 0.5 )Computed: 2px
Description: The vertical padding of the small Button.
kendo-button-md-padding-y$kendo-button-padding-y4pxDefault: $kendo-button-padding-yComputed: 4px
Description: The vertical padding of the medium Button.
kendo-button-lg-padding-yk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The vertical padding of the large Button.
kendo-button-font-family$kendo-font-familyinheritDefault: $kendo-font-familyComputed: inherit
Description: The font family of the Button.
kendo-button-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: The font size of the Button.
kendo-button-sm-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: The font size of the small Button.
kendo-button-md-font-size$kendo-button-font-size14pxDefault: $kendo-button-font-sizeComputed: 14px
Description: The font size of the medium Button.
kendo-button-lg-font-size$kendo-font-size-lg16pxDefault: $kendo-font-size-lgComputed: 16px
Description: The font size of the large Button.
kendo-button-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: The line height used along with the $kendo-font-size the.
kendo-button-sm-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: The line height used along with the $kendo-font-size the of the small Button.
kendo-button-md-line-height$kendo-button-line-height1.4285714286Default: $kendo-button-line-heightComputed: 1.4285714286
Description: The line height used along with the $kendo-font-size the of the medium Button.
kendo-button-lg-line-height$kendo-line-height-lg1.5Default: $kendo-line-height-lgComputed: 1.5
Description: The line height used along with the $kendo-font-size the of the large Button.
kendo-button-calc-sizecalc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} )calc(1.4285714286em + 8px + 2px)Default: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} + #{$kendo-button-border-width * 2} )Computed: calc(1.4285714286em + 8px + 2px)
Description: The calculated height of the Button.
kendo-button-inner-calc-sizecalc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} )calc(1.4285714286em + 8px)Default: calc( #{$kendo-button-line-height * 1em} + #{$kendo-button-padding-y * 2} )Computed: calc(1.4285714286em + 8px)
Description: The calculated inner height of the Button excluding the border width.
kendo-button-sizes( sm: ( padding-x: $kendo-button-sm-padding-x, padding-y: $kendo-button-sm-padding-y, font-size: $kendo-button-sm-font-size, line-height: $kendo-button-sm-line-height ), md: ( padding-x: $kendo-button-md-padding-x, padding-y: $kendo-button-md-padding-y, font-size: $kendo-button-md-font-size, line-height: $kendo-button-md-line-height ), lg: ( padding-x: $kendo-button-lg-padding-x, padding-y: $kendo-button-lg-padding-y, font-size: $kendo-button-lg-font-size, line-height: $kendo-button-lg-line-height ) )(sm: (padding-x: 8px, padding-y: 2px, font-size: 14px, line-height: 1.4285714286), md: (padding-x: 8px, padding-y: 4px, font-size: 14px, line-height: 1.4285714286), lg: (padding-x: 8px, padding-y: 8px, font-size: 16px, line-height: 1.5))Default: ( sm: ( padding-x: $kendo-button-sm-padding-x, padding-y: $kendo-button-sm-padding-y, font-size: $kendo-button-sm-font-size, line-height: $kendo-button-sm-line-height ), md: ( padding-x: $kendo-button-md-padding-x, padding-y: $kendo-button-md-padding-y, font-size: $kendo-button-md-font-size, line-height: $kendo-button-md-line-height ), lg: ( padding-x: $kendo-button-lg-padding-x, padding-y: $kendo-button-lg-padding-y, font-size: $kendo-button-lg-font-size, line-height: $kendo-button-lg-line-height ) )Computed: (sm: (padding-x: 8px, padding-y: 2px, font-size: 14px, line-height: 1.4285714286), md: (padding-x: 8px, padding-y: 4px, font-size: 14px, line-height: 1.4285714286), lg: (padding-x: 8px, padding-y: 8px, font-size: 16px, line-height: 1.5))
Description: The sizes map for the Button.
kendo-button-theme-colorsk-map-merge( $kendo-theme-colors, ( "base": if($kendo-enable-color-system, k-color( base ), #f5f5f5) ) )("primary": #ff6358, "secondary": #666666, "tertiary": #03a9f4, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #ebebeb, "inverse": #424242, "base": #f5f5f5)Default: k-map-merge( $kendo-theme-colors, ( "base": if($kendo-enable-color-system, k-color( base ), #f5f5f5) ) )Computed: ("primary": #ff6358, "secondary": #666666, "tertiary": #03a9f4, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #ebebeb, "inverse": #424242, "base": #f5f5f5)
Description: The theme colors map for the Button.
kendo-button-bgif($kendo-enable-color-system, k-color( base ), #f5f5f5) #f5f5f5Default: if($kendo-enable-color-system, k-color( base ), #f5f5f5)Computed: #f5f5f5
Description: The base background of the Button.
kendo-button-textif($kendo-enable-color-system, k-color( on-base ), #424242) #424242Default: if($kendo-enable-color-system, k-color( on-base ), #424242)Computed: #424242
Description: The base text color of the Button.
kendo-button-borderif($kendo-enable-color-system, k-color( border ), rgba( black, .08 )) rgba(0, 0, 0, 0.08)Default: if($kendo-enable-color-system, k-color( border ), rgba( black, .08 ))Computed: rgba(0, 0, 0, 0.08)
Description: The base border color of the Button.
kendo-button-gradientif($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 )))rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02)Default: if($kendo-enable-color-system, null, (rgba( black, 0 ), rgba( black, .02 )))Computed: rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.02)
Description: The base background gradient of the Button.
kendo-button-shadownullnullDefault: nullComputed: null
Description: The base shadow of the Button.
kendo-button-hover-bgif($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-button-bg, .5 )) #ebebebDefault: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-button-bg, .5 ))Computed: #ebebeb
Description: The base background of the hovered Button.
kendo-button-hover-textnullnullDefault: nullComputed: null
Description: The base text color of the hovered Button.
kendo-button-hover-bordernullnullDefault: nullComputed: null
Description: The base border color of the hovered Button.
kendo-button-hover-gradientnullnullDefault: nullComputed: null
Description: The base background gradient of the hovered Button.
kendo-button-hover-shadownullnullDefault: nullComputed: null
Description: The base shadow of the hovered Button.
kendo-button-active-bgif($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-button-bg, 1.5 )) #d8d8d8Default: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-button-bg, 1.5 ))Computed: #d8d8d8
Description: The base background color of the active Button.
kendo-button-active-textnullnullDefault: nullComputed: null
Description: The base text color of the active Button.
kendo-button-active-bordernullnullDefault: nullComputed: null
Description: The base border color of the active Button.
kendo-button-active-gradientnullnullDefault: nullComputed: null
Description: The base background gradient of the active Button.
kendo-button-active-shadownullnullDefault: nullComputed: null
Description: The base shadow of the active Button.
kendo-button-selected-bg$kendo-color-primary #ff6358Default: $kendo-color-primaryComputed: #ff6358
Description: The base background color of the selected Button.
kendo-button-selected-textif($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-button-selected-bg )) whiteDefault: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-button-selected-bg ))Computed: white
Description: The text color of the selected Button.
kendo-button-selected-border$kendo-button-selected-bg #ff6358Default: $kendo-button-selected-bgComputed: #ff6358
Description: The border color of the selected Button.
kendo-button-selected-gradient$kendo-button-active-gradientnullDefault: $kendo-button-active-gradientComputed: null
Description: The background gradient of the selected Button.
kendo-button-selected-shadow$kendo-button-active-shadownullDefault: $kendo-button-active-shadowComputed: null
Description: The base shadow of the selected Button.
kendo-button-focus-bgnullnullDefault: nullComputed: null
Description: The base background of the focused Button.
kendo-button-focus-textnullnullDefault: nullComputed: null
Description: The base text color of the focused Button.
kendo-button-focus-bordernullnullDefault: nullComputed: null
Description: The base border color of the focused Button.
kendo-button-focus-gradientnullnullDefault: nullComputed: null
Description: The base background gradient of the focused Button.
kendo-button-focus-shadow0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08), rgba( $kendo-button-border, .08 ))0 0 0 2px rgba(0, 0, 0, 0.08)Default: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( on-app-surface, true ), .08), rgba( $kendo-button-border, .08 ))Computed: 0 0 0 2px rgba(0, 0, 0, 0.08)
Description: The base shadow of the focused Button.
kendo-button-disabled-bgnullnullDefault: nullComputed: null
Description: The base background of the disabled Button.
kendo-button-disabled-textnullnullDefault: nullComputed: null
Description: The base text color of the disabled Button.
kendo-button-disabled-bordernullnullDefault: nullComputed: null
Description: The base border color of the disabled Button.
kendo-button-disabled-gradientnullnullDefault: nullComputed: null
Description: The base background gradient of the disabled Button.
kendo-button-disabled-shadownullnullDefault: nullComputed: null
Description: The base shadow of the disabled Button.
kendo-flat-button-hover-opacity.040.04Default: .04Computed: 0.04
Description: The overlay opacity of the hovered flat Button. Used to create a background for the flat Button.
kendo-flat-button-focus-opacitynullnullDefault: nullComputed: null
Description: The overlay opacity of the focused flat Button. Used to create a background for the flat Button.
kendo-flat-button-active-opacity.160.16Default: .16Computed: 0.16
Description: The overlay opacity of the active flat Button. Used to create background for the flat Button.
kendo-flat-button-selected-opacity.20.2Default: .2Computed: 0.2
Description: The overlay opacity of the selected flat Button. Used to create background for the flat Button.
kendo-flat-button-focus-ring-opacity.120.12Default: .12Computed: 0.12
Description: The opacity of the flat Button focus ring. Used to create a border for the flat Button.
kendo-button-transitioncolor .2s ease-in-outcolor 0.2s ease-in-outDefault: color .2s ease-in-outComputed: color 0.2s ease-in-out
Description: The color transition of the flat Button.