TreeView

A TreeView component displays a collapsible tree-like structure for navigating and organizing hierarchical data.

Sass Variables

The Telerik and Kendo UI TreeView enables you to configure and customize its appearance through the available Sass variables.

VariableDefault ValueComputed ValueValue
kendo-treeview-font-family$kendo-font-familyinheritDefault: $kendo-font-familyComputed: inherit
Description: The font family of the TreeView.
kendo-treeview-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: The font size of the TreeView.
kendo-treeview-sm-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: The font size of the small TreeView.
kendo-treeview-md-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: The font size of the medium TreeView.
kendo-treeview-lg-font-size$kendo-font-size-lg16pxDefault: $kendo-font-size-lgComputed: 16px
Description: The font size of the large TreeView.
kendo-treeview-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: The line height of the TreeView.
kendo-treeview-sm-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: The line height of the small TreeView.
kendo-treeview-md-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: The line height of the medium TreeView.
kendo-treeview-lg-line-height$kendo-line-height-lg1.5Default: $kendo-line-height-lgComputed: 1.5
Description: The line height of the large TreeView.
kendo-treeview-indent24px24pxDefault: 24pxComputed: 24px
Description: The indentation of child groups in the TreeView.
kendo-treeview-item-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the TreeView items.
kendo-treeview-sm-item-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the small TreeView items.
kendo-treeview-md-item-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the medium TreeView items.
kendo-treeview-lg-item-padding-xk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The horizontal padding of the large TreeView items.
kendo-treeview-item-padding-yk-map-get( $kendo-spacing, 1 )4pxDefault: k-map-get( $kendo-spacing, 1 )Computed: 4px
Description: The vertical padding of the TreeView items.
kendo-treeview-sm-item-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 TreeView items.
kendo-treeview-md-item-padding-yk-map-get( $kendo-spacing, 1 )4pxDefault: k-map-get( $kendo-spacing, 1 )Computed: 4px
Description: The vertical padding of the medium TreeView items.
kendo-treeview-lg-item-padding-yk-map-get( $kendo-spacing, 2 )8pxDefault: k-map-get( $kendo-spacing, 2 )Computed: 8px
Description: The vertical padding of the large TreeView items.
kendo-treeview-item-border-width0px0pxDefault: 0pxComputed: 0px
Description: The border width of the TreeView items.
kendo-treeview-item-border-radius$kendo-border-radius-md4pxDefault: $kendo-border-radius-mdComputed: 4px
Description: The border radius of the TreeView items.
kendo-treeview-sm-checkbox-padding-xk-map-get( $kendo-spacing, 1 )4pxDefault: k-map-get( $kendo-spacing, 1 )Computed: 4px
Description: The horizontal padding of the checkbox in the small TreeView.
kendo-treeview-md-checkbox-padding-x$kendo-treeview-sm-checkbox-padding-x4pxDefault: $kendo-treeview-sm-checkbox-padding-xComputed: 4px
Description: The horizontal padding of the checkbox in the medium TreeView.
kendo-treeview-lg-checkbox-padding-x$kendo-treeview-sm-checkbox-padding-x4pxDefault: $kendo-treeview-sm-checkbox-padding-xComputed: 4px
Description: The horizontal padding of the checkbox in the large TreeView.
kendo-treeview-sm-checkbox-padding-yk-map-get( $kendo-spacing, .5 )2pxDefault: k-map-get( $kendo-spacing, .5 )Computed: 2px
Description: The vertical padding of the checkbox in the small TreeView.
kendo-treeview-md-checkbox-padding-y$kendo-treeview-sm-checkbox-padding-y2pxDefault: $kendo-treeview-sm-checkbox-padding-yComputed: 2px
Description: The vertical padding of the checkbox in the medium TreeView.
kendo-treeview-lg-checkbox-padding-ynullnullDefault: nullComputed: null
Description: The vertical padding of the checkbox in the large TreeView.
kendo-treeview-sizes( sm: ( font-size: $kendo-treeview-sm-font-size, line-height: $kendo-treeview-sm-line-height, item-padding-x: $kendo-treeview-sm-item-padding-x, item-padding-y: $kendo-treeview-sm-item-padding-y, checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x, checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y ), md: ( font-size: $kendo-treeview-md-font-size, line-height: $kendo-treeview-md-line-height, item-padding-x: $kendo-treeview-md-item-padding-x, item-padding-y: $kendo-treeview-md-item-padding-y, checkbox-padding-x: $kendo-treeview-md-checkbox-padding-x, checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y ), lg: ( font-size: $kendo-treeview-lg-font-size, line-height: $kendo-treeview-lg-line-height, item-padding-x: $kendo-treeview-lg-item-padding-x, item-padding-y: $kendo-treeview-lg-item-padding-y, checkbox-padding-x: $kendo-treeview-lg-checkbox-padding-x, checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y ) )(sm: (font-size: 14px, line-height: 1.4285714286, item-padding-x: 8px, item-padding-y: 2px, checkbox-padding-x: 4px, checkbox-padding-y: 2px), md: (font-size: 14px, line-height: 1.4285714286, item-padding-x: 8px, item-padding-y: 4px, checkbox-padding-x: 4px, checkbox-padding-y: 2px), lg: (font-size: 16px, line-height: 1.5, item-padding-x: 8px, item-padding-y: 8px, checkbox-padding-x: 4px, checkbox-padding-y: null))Default: ( sm: ( font-size: $kendo-treeview-sm-font-size, line-height: $kendo-treeview-sm-line-height, item-padding-x: $kendo-treeview-sm-item-padding-x, item-padding-y: $kendo-treeview-sm-item-padding-y, checkbox-padding-x: $kendo-treeview-sm-checkbox-padding-x, checkbox-padding-y: $kendo-treeview-sm-checkbox-padding-y ), md: ( font-size: $kendo-treeview-md-font-size, line-height: $kendo-treeview-md-line-height, item-padding-x: $kendo-treeview-md-item-padding-x, item-padding-y: $kendo-treeview-md-item-padding-y, checkbox-padding-x: $kendo-treeview-md-checkbox-padding-x, checkbox-padding-y: $kendo-treeview-md-checkbox-padding-y ), lg: ( font-size: $kendo-treeview-lg-font-size, line-height: $kendo-treeview-lg-line-height, item-padding-x: $kendo-treeview-lg-item-padding-x, item-padding-y: $kendo-treeview-lg-item-padding-y, checkbox-padding-x: $kendo-treeview-lg-checkbox-padding-x, checkbox-padding-y: $kendo-treeview-lg-checkbox-padding-y ) )Computed: (sm: (font-size: 14px, line-height: 1.4285714286, item-padding-x: 8px, item-padding-y: 2px, checkbox-padding-x: 4px, checkbox-padding-y: 2px), md: (font-size: 14px, line-height: 1.4285714286, item-padding-x: 8px, item-padding-y: 4px, checkbox-padding-x: 4px, checkbox-padding-y: 2px), lg: (font-size: 16px, line-height: 1.5, item-padding-x: 8px, item-padding-y: 8px, checkbox-padding-x: 4px, checkbox-padding-y: null))
Description: The sizes map of the TreeView.
kendo-treeview-bgnullnullDefault: nullComputed: null
Description: The background color of the TreeView.
kendo-treeview-text$kendo-component-text #424242Default: $kendo-component-textComputed: #424242
Description: The text color of the TreeView.
kendo-treeview-bordernullnullDefault: nullComputed: null
Description: The border color of the TreeView.
kendo-treeview-item-hover-bg$kendo-hover-bg #f0f0f0Default: $kendo-hover-bgComputed: #f0f0f0
Description: The background color of hovered TreeView items.
kendo-treeview-item-hover-text$kendo-hover-text #424242Default: $kendo-hover-textComputed: #424242
Description: The text color of hovered TreeView items.
kendo-treeview-item-hover-bordernullnullDefault: nullComputed: null
Description: The border color of hovered TreeView items.
kendo-treeview-item-hover-gradientnullnullDefault: nullComputed: null
Description: The background gradient of hovered TreeView items.
kendo-treeview-item-selected-bg$kendo-selected-bg #ff6358Default: $kendo-selected-bgComputed: #ff6358
Description: The background color of selected TreeView items.
kendo-treeview-item-selected-text$kendo-selected-text whiteDefault: $kendo-selected-textComputed: white
Description: The text color of selected TreeView items.
kendo-treeview-item-selected-bordernullnullDefault: nullComputed: null
Description: The border color of selected TreeView items.
kendo-treeview-item-selected-gradientnullnullDefault: nullComputed: null
Description: The background gradient of selected TreeView items.
kendo-treeview-item-focus-shadow$kendo-focus-shadowinset 0 0 0 2px rgba(0, 0, 0, 0.13)Default: $kendo-focus-shadowComputed: inset 0 0 0 2px rgba(0, 0, 0, 0.13)
Description: The box shadow of focused TreeView items.
kendo-treeview-loadmore-bgtransparent transparentDefault: transparentComputed: transparent
Description: The background color of the Load More button in the TreeView
kendo-treeview-loadmore-text$kendo-link-text #ff6358Default: $kendo-link-textComputed: #ff6358
Description: The text color of the Load More button in the TreeView
kendo-treeview-loadmore-bordernullnullDefault: nullComputed: null
Description: The border color of the Load More button in the TreeView
kendo-treeview-loadmore-hover-bgtransparent transparentDefault: transparentComputed: transparent
Description: The background color of the hovered Load More button in the TreeView
kendo-treeview-loadmore-hover-text$kendo-link-hover-text #d6534aDefault: $kendo-link-hover-textComputed: #d6534a
Description: The text color of the hovered Load More button in the TreeView.
kendo-treeview-loadmore-hover-bordernullnullDefault: nullComputed: null
Description: The border color of the hovered Load More button in the TreeView.
kendo-treeview-loadmore-focus-bgtransparent transparentDefault: transparentComputed: transparent
Description: The background color of the focused Load More button in the TreeView.
kendo-treeview-loadmore-focus-text$kendo-link-hover-text #d6534aDefault: $kendo-link-hover-textComputed: #d6534a
Description: The text color of the focused Load More button in the TreeView.
kendo-treeview-loadmore-focus-bordernullnullDefault: nullComputed: null
Description: The border color of the focused Load More button in the TreeView.
kendo-treeview-loadmore-focus-shadow$kendo-treeview-item-focus-shadowinset 0 0 0 2px rgba(0, 0, 0, 0.13)Default: $kendo-treeview-item-focus-shadowComputed: inset 0 0 0 2px rgba(0, 0, 0, 0.13)
Description: The box shadow of the focused Load More button in the TreeView.