ExpansionPanel

ExpansionPanels are UI elements that display expandable/collapsible content.

Sass Variables

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

VariableDefault ValueComputed ValueValue
kendo-expander-spacing-yk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The vertical spacing of the ExpansionPanel.
kendo-expander-border-width1px1pxDefault: 1pxComputed: 1px
Description: The width of the border around the ExpansionPanel.
kendo-expander-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 ExpansionPanel.
kendo-expander-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 ExpansionPanel.
kendo-expander-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 hine height of the ExpansionPanel.
kendo-expander-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 ExpansionPanel.
kendo-expander-bg$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-component-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The background color of the ExpansionPanel.
kendo-expander-border$kendo-component-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-component-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the ExpansionPanel.
kendo-expander-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 box shadow of the focused ExpansionPanel.
kendo-expander-header-padding-xk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The horizontal padding of the ExpansionPanel header.
kendo-expander-header-padding-yk-spacing(3)var(--kendo-spacing-3, 0.75rem)Default: k-spacing(3)Computed: var(--kendo-spacing-3, 0.75rem)
Description: The vertical padding of the ExpansionPanel header.
kendo-expander-header-text$kendo-expander-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-expander-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the ExpansionPanel header.
kendo-expander-header-bgtransparent transparentDefault: transparentComputed: transparent
Description: The background color of the ExpansionPanel header.
kendo-expander-header-bordernullnullDefault: nullComputed: null
Description: The border color of the ExpansionPanel header.
kendo-expander-header-hover-bg rgba(0, 0, 0, .04) rgba(0, 0, 0, 0.04)Default: rgba(0, 0, 0, .04)Computed: rgba(0, 0, 0, 0.04)
Description: The background color of the hovered ExpansionPanel header.
kendo-expander-header-focus-bgnullnullDefault: nullComputed: null
Description: The background color of the focused ExpansionPanel header.
kendo-expander-header-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 box shadow of the focused ExpansionPanel header.
kendo-expander-title-text$kendo-color-primaryvar(--kendo-color-primary, #ff6358)Default: $kendo-color-primaryComputed: var(--kendo-color-primary, #ff6358)
Description: The text color of the ExpansionPanel title.
kendo-expander-header-sub-title-text$kendo-subtle-textvar(--kendo-color-subtle, #666666)Default: $kendo-subtle-textComputed: var(--kendo-color-subtle, #666666)
Description: The text color of the ExpansionPanel sub-title.
kendo-expander-indicator-margin-xk-spacing(3)var(--kendo-spacing-3, 0.75rem)Default: k-spacing(3)Computed: var(--kendo-spacing-3, 0.75rem)
Description: The horizontal margin of the ExpansionPanel indicator.
kendo-expander-content-padding-xk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The horizontal padding of the ExpansionPanel content.
kendo-expander-content-padding-yk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The vertical padding of the ExpansionPanel content.
Feedback