Menu

Menus are multi-level navigational components that organize hierarchical data into selectable items.

Sass Variables

To configure and customize the Telerik and Kendo UI Menu, use not only its dedicated Sass variables but also the Sass variables provided by the Button component.

VariableDefault ValueComputed ValueValue
kendo-menu-border-width0px0pxDefault: 0pxComputed: 0px
Description: The width of the border around the Menu.
kendo-menu-font-familyvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)Default: var( --kendo-font-family, inherit )Computed: var(--kendo-font-family, inherit)
Description: The font family of the Menu.
kendo-menu-font-sizevar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)Default: var( --kendo-font-size, inherit )Computed: var(--kendo-font-size, inherit)
Description: The font size of the Menu.
kendo-menu-line-heightvar( --kendo-line-height, normal )var(--kendo-line-height, normal)Default: var( --kendo-line-height, normal )Computed: var(--kendo-line-height, normal)
Description: The line height of the Menu used along with $kendo-font-size.
kendo-menu-bgtransparent transparentDefault: transparentComputed: transparent
Description: The background color of the Menu.
kendo-menu-text$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Menu.
kendo-menu-bordernullnullDefault: nullComputed: null
Description: The border color of the Menu.
kendo-menu-gradientnullnullDefault: nullComputed: null
Description: The background gradient of the Menu.
kendo-menu-item-padding-xk-spacing(3)var(--kendo-spacing-3, 0.75rem)Default: k-spacing(3)Computed: var(--kendo-spacing-3, 0.75rem)
Description: The horizontal padding of the Menu item.
kendo-menu-item-padding-yk-spacing(1.5)var(--kendo-spacing-1\.5, 0.375rem)Default: k-spacing(1.5)Computed: var(--kendo-spacing-1\.5, 0.375rem)
Description: The vertical padding of the Menu item.
kendo-menu-item-spacingk-spacing(0)var(--kendo-spacing-0, 0px)Default: k-spacing(0)Computed: var(--kendo-spacing-0, 0px)
Description: The spacing between the Menu items.
kendo-menu-item-icon-spacing$kendo-icon-spacingvar(--kendo-spacing-1, 0.25rem)Default: $kendo-icon-spacingComputed: var(--kendo-spacing-1, 0.25rem)
Description: The spacing between the Menu item text and icons.
kendo-menu-item-selected-font-weightvar( --kendo-font-weight-bold, normal )var(--kendo-font-weight-bold, normal)Default: var( --kendo-font-weight-bold, normal )Computed: var(--kendo-font-weight-bold, normal)
Description: The font weight of the selected Menu item.
kendo-menu-item-bgnullnullDefault: nullComputed: null
Description: The background color of the Menu item.
kendo-menu-item-text$kendo-subtle-textvar(--kendo-color-subtle, #666666)Default: $kendo-subtle-textComputed: var(--kendo-color-subtle, #666666)
Description: The text color of the Menu item.
kendo-menu-item-bordernullnullDefault: nullComputed: null
Description: The border color of the Menu item.
kendo-menu-item-gradientnullnullDefault: nullComputed: null
Description: The background gradient of the Menu item.
kendo-menu-item-hover-bgnullnullDefault: nullComputed: null
Description: The background color of hovered Menu item.
kendo-menu-item-hover-text$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of hovered Menu item.
kendo-menu-item-hover-bordernullnullDefault: nullComputed: null
Description: The border color of hovered Menu item.
kendo-menu-item-hover-gradientnullnullDefault: nullComputed: null
Description: The background gradient of hovered Menu item.
kendo-menu-item-active-bgnullnullDefault: nullComputed: null
Description: The background color of active Menu item.
kendo-menu-item-active-text$kendo-link-textvar(--kendo-color-primary, #ff6358)Default: $kendo-link-textComputed: var(--kendo-color-primary, #ff6358)
Description: The text color of active Menu item.
kendo-menu-item-active-bordernullnullDefault: nullComputed: null
Description: The border color of active Menu item.
kendo-menu-item-active-gradientnullnullDefault: nullComputed: null
Description: The background gradient of active Menu item.
kendo-menu-item-focus-shadow$kendo-list-item-focus-shadow(inset 0 0 0 2px rgba(0, 0, 0, 0.12))Default: $kendo-list-item-focus-shadowComputed: (inset 0 0 0 2px rgba(0, 0, 0, 0.12))
Description: The base shadow of focused Menu item.
kendo-menu-item-selected-bgnullnullDefault: nullComputed: null
Description: The background color of selected Menu item.
kendo-menu-item-selected-text$kendo-link-textvar(--kendo-color-primary, #ff6358)Default: $kendo-link-textComputed: var(--kendo-color-primary, #ff6358)
Description: The text color of selected Menu item.
kendo-menu-item-selected-bordernullnullDefault: nullComputed: null
Description: The border color of selected Menu item.
kendo-menu-item-selected-gradientnullnullDefault: nullComputed: null
Description: The background gradient of selected Menu item.
kendo-menu-scroll-button-bgnullnullDefault: nullComputed: null
Description: The background color of the Menu scroll buttons.
kendo-menu-scroll-button-text$kendo-subtle-textvar(--kendo-color-subtle, #666666)Default: $kendo-subtle-textComputed: var(--kendo-color-subtle, #666666)
Description: The text color of the Menu scroll buttons.
kendo-menu-scroll-button-bordernullnullDefault: nullComputed: null
Description: The border color of the Menu scroll buttons.
kendo-menu-scroll-button-gradientnullnullDefault: nullComputed: null
Description: The background gradient of the Menu scroll buttons.
kendo-menu-scroll-button-hover-bgnullnullDefault: nullComputed: null
Description: The background color of hovered Menu scroll buttons.
kendo-menu-scroll-button-hover-text$kendo-component-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of hovered Menu scroll buttons.
kendo-menu-scroll-button-hover-bordernullnullDefault: nullComputed: null
Description: The border color of hovered Menu scroll buttons.
kendo-menu-scroll-button-hover-gradientnullnullDefault: nullComputed: null
Description: The background gradient of hovered Menu scroll buttons.
kendo-menu-separator-margin-inlinek-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The inline margin of the horizontal Menu separator.
kendo-menu-separator-margin-blockk-spacing(1.5)var(--kendo-spacing-1\.5, 0.375rem)Default: k-spacing(1.5)Computed: var(--kendo-spacing-1\.5, 0.375rem)
Description: The block margin of the horizontal Menu separator.
kendo-menu-separator-borderif($kendo-enable-color-system, k-color(border), $kendo-component-border)var(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: if($kendo-enable-color-system, k-color(border), $kendo-component-border)Computed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Menu separator.
kendo-menu-popup-padding-xnullnullDefault: nullComputed: null
Description: The horizontal padding of the Menu popup.
kendo-menu-popup-padding-ynullnullDefault: nullComputed: null
Description: The vertical padding of the Menu popup.
kendo-menu-popup-border-width$kendo-popup-border-width1pxDefault: $kendo-popup-border-widthComputed: 1px
Description: The width of the border around the Menu popup.
kendo-menu-popup-font-sizevar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)Default: var( --kendo-font-size, inherit )Computed: var(--kendo-font-size, inherit)
Description: The font sizes of the Menu popup.
kendo-menu-popup-line-heightvar( --kendo-line-height, normal )var(--kendo-line-height, normal)Default: var( --kendo-line-height, normal )Computed: var(--kendo-line-height, normal)
Description: The line heights used along with $kendo-font-size.
kendo-menu-popup-bg$kendo-popup-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-popup-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The background color of the Menu popup.
kendo-menu-popup-text$kendo-popup-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-popup-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Menu popup.
kendo-menu-popup-border$kendo-popup-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-popup-borderComputed: var(--kendo-color-border, 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-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The horizontal padding of the Menu item in popup.
kendo-menu-popup-item-padding-yk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The 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(var(--kendo-spacing-2, 0.5rem) * 2 + 16px)Default: calc( #{$kendo-menu-popup-item-padding-x} * 2 + #{$kendo-icon-size} )Computed: calc(var(--kendo-spacing-2, 0.5rem) * 2 + 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-xvar(--kendo-spacing-2, 0.5rem)Default: $kendo-menu-popup-sm-item-padding-xComputed: var(--kendo-spacing-2, 0.5rem)
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} - #{list.slash( $kendo-menu-popup-sm-item-padding-x, 2 )}) )calc(-1 * (calc(var(--kendo-spacing-2, 0.5rem) * 2 + 16px) - var(--kendo-spacing-2, 0.5rem) / 2))Default: calc( -1 * (#{$kendo-menu-popup-sm-item-padding-end} - #{list.slash( $kendo-menu-popup-sm-item-padding-x, 2 )}) )Computed: calc(-1 * (calc(var(--kendo-spacing-2, 0.5rem) * 2 + 16px) - var(--kendo-spacing-2, 0.5rem) / 2))
Description: The end margin of the Menu item expand icon.
kendo-menu-popup-item-spacingk-spacing(0)var(--kendo-spacing-0, 0px)Default: k-spacing(0)Computed: var(--kendo-spacing-0, 0px)
Description: The spacing between the Menu items in popup.
kendo-menu-popup-item-bgnullnullDefault: nullComputed: null
Description: The background color 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-bgvar(--kendo-color-base-hover, #ebebeb)Default: $kendo-list-item-hover-bgComputed: var(--kendo-color-base-hover, #ebebeb)
Description: The background color of hovered Menu item in popup.
kendo-menu-popup-item-hover-text$kendo-list-item-hover-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-list-item-hover-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
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-active-bg$kendo-list-item-selected-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-list-item-selected-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of active Menu item in popup.
kendo-menu-popup-item-active-text$kendo-list-item-selected-textvar(--kendo-color-on-primary, #ffffff)Default: $kendo-list-item-selected-textComputed: var(--kendo-color-on-primary, #ffffff)
Description: The text color of active Menu item in popup.
kendo-menu-popup-item-active-bordernullnullDefault: nullComputed: null
Description: The border color of active Menu item in popup.
kendo-menu-popup-item-active-gradientnullnullDefault: nullComputed: null
Description: The background gradient of active Menu item in popup.
kendo-menu-popup-item-focus-shadow$kendo-menu-item-focus-shadow(inset 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.
Feedback