Card

Cards are flexible UI elements that present information in a structured and visually appealing way.

Sass Variables

The Telerik and Kendo UI Card enables you to configure and customize its appearance through the available Sass variables. Additionally, to configure and customize the appearance of its buttons, use the Sass variables provided by the Button component.

VariableDefault ValueComputed ValueValue
kendo-card-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 Card.
kendo-card-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 Card.
kendo-card-border-width1px1pxDefault: 1pxComputed: 1px
Description: The width of the border around the Card.
kendo-card-border-radiusk-border-radius(lg)var(--kendo-border-radius-lg, 0.375rem)Default: k-border-radius(lg)Computed: var(--kendo-border-radius-lg, 0.375rem)
Description: The border radius of the Card.
kendo-card-inner-border-radiuscalc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} )calc(var(--kendo-border-radius-lg, 0.375rem) - 1px)Default: calc( #{$kendo-card-border-radius} - #{$kendo-card-border-width} )Computed: calc(var(--kendo-border-radius-lg, 0.375rem) - 1px)
Description: The inner border radius of the Card.
kendo-card-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 Card.
kendo-card-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 Card.
kendo-card-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 Card.
kendo-card-deck-gapk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The spacing between the Cards in the Card deck.
kendo-card-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 Card.
kendo-card-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 Card.
kendo-card-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 Card.
kendo-card-shadownullnullDefault: nullComputed: null
Description: The shadow of the Card.
kendo-card-focus-bgnullnullDefault: nullComputed: null
Description: The background color of the focused Card.
kendo-card-focus-textnullnullDefault: nullComputed: null
Description: The text color of the focused Card.
kendo-card-focus-borderrgba( black, .15 ) rgba(0, 0, 0, 0.15)Default: rgba( black, .15 )Computed: rgba(0, 0, 0, 0.15)
Description: The border color of the focused Card.
kendo-card-focus-shadownullnullDefault: nullComputed: null
Description: The shadow of the focused Card.
kendo-card-header-padding-x$kendo-card-padding-xvar(--kendo-spacing-4, 1rem)Default: $kendo-card-padding-xComputed: var(--kendo-spacing-4, 1rem)
Description: The horizontal padding of the Card header.
kendo-card-header-padding-y$kendo-card-padding-yvar(--kendo-spacing-3, 0.75rem)Default: $kendo-card-padding-yComputed: var(--kendo-spacing-3, 0.75rem)
Description: The vertical padding of the Card header.
kendo-card-header-border-width1px1pxDefault: 1pxComputed: 1px
Description: The bottom border width of the Card header.
kendo-card-header-bgnullnullDefault: nullComputed: null
Description: The background color of the Card header.
kendo-card-header-text$kendo-component-header-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-header-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Card header.
kendo-card-header-border$kendo-component-header-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-component-header-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Card header.
kendo-card-body-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 Card body.
kendo-card-body-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 Card body.
kendo-card-footer-padding-x$kendo-card-padding-xvar(--kendo-spacing-4, 1rem)Default: $kendo-card-padding-xComputed: var(--kendo-spacing-4, 1rem)
Description: The horizontal padding of the Card footer.
kendo-card-footer-padding-y$kendo-card-padding-yvar(--kendo-spacing-3, 0.75rem)Default: $kendo-card-padding-yComputed: var(--kendo-spacing-3, 0.75rem)
Description: The vertical padding of the Card footer.
kendo-card-footer-border-width1px1pxDefault: 1pxComputed: 1px
Description: The top border width of the Card footer.
kendo-card-footer-bgnullnullDefault: nullComputed: null
Description: The background color of the Card footer.
kendo-card-footer-text$kendo-component-header-textvar(--kendo-color-on-app-surface, #3d3d3d)Default: $kendo-component-header-textComputed: var(--kendo-color-on-app-surface, #3d3d3d)
Description: The text color of the Card footer.
kendo-card-footer-border$kendo-component-header-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-component-header-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the Card footer.
kendo-card-title-margin-bottomk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The bottom margin of the Card title.
kendo-card-title-font-sizevar( --kendo-font-size-lg, inherit )var(--kendo-font-size-lg, inherit)Default: var( --kendo-font-size-lg, inherit )Computed: var(--kendo-font-size-lg, inherit)
Description: The font size of the Card title.
kendo-card-title-font-familynullnullDefault: nullComputed: null
Description: The font family of the Card title.
kendo-card-title-line-height1.251.25Default: 1.25Computed: 1.25
Description: The line height of the Card title.
kendo-card-title-font-weightvar( --kendo-font-weight-normal, normal )var(--kendo-font-weight-normal, normal)Default: var( --kendo-font-weight-normal, normal )Computed: var(--kendo-font-weight-normal, normal)
Description: The font weight of the Card title.
kendo-card-title-letter-spacingnullnullDefault: nullComputed: null
Description: The letter spacing of the Card title.
kendo-card-subtitle-margin-bottomk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The bottom margin of the Card subtitle.
kendo-card-subtitle-font-sizevar( --kendo-font-size-sm, inherit )var(--kendo-font-size-sm, inherit)Default: var( --kendo-font-size-sm, inherit )Computed: var(--kendo-font-size-sm, inherit)
Description: The font size of the Card subtitle.
kendo-card-subtitle-font-familynullnullDefault: nullComputed: null
Description: The font family of the Card subtitle.
kendo-card-subtitle-line-heightnormalnormalDefault: normalComputed: normal
Description: The line height of the Card subtitle.
kendo-card-subtitle-font-weightvar( --kendo-font-weight-normal, normal )var(--kendo-font-weight-normal, normal)Default: var( --kendo-font-weight-normal, normal )Computed: var(--kendo-font-weight-normal, normal)
Description: The font weight of the Card subtitle.
kendo-card-subtitle-letter-spacingnullnullDefault: nullComputed: null
Description: The letter spacing of the Card subtitle.
kendo-card-subtitle-text$kendo-subtle-textvar(--kendo-color-subtle, #666666)Default: $kendo-subtle-textComputed: var(--kendo-color-subtle, #666666)
Description: The text color of the Card subtitle.
kendo-card-img-max-width100px100pxDefault: 100pxComputed: 100px
Description: The maximum width of the Card image.
kendo-card-avatar-size45px45pxDefault: 45pxComputed: 45px
Description: The size of the Avatar in the Card.
kendo-card-avatar-spacing$kendo-card-header-padding-xvar(--kendo-spacing-4, 1rem)Default: $kendo-card-header-padding-xComputed: var(--kendo-spacing-4, 1rem)
Description: The spacing between the Avatar and the text in the Card.
kendo-card-actions-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 Card actions.
kendo-card-actions-padding-yk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The vertical padding of the Card actions.
kendo-card-actions-border-width1px1pxDefault: 1pxComputed: 1px
Description: The top border width of the Card actions.
kendo-card-actions-gapk-spacing(2)var(--kendo-spacing-2, 0.5rem)Default: k-spacing(2)Computed: var(--kendo-spacing-2, 0.5rem)
Description: The spacing between the Card actions.
kendo-card-deck-scroll-button-radius0px0pxDefault: 0pxComputed: 0px
Description: The border radius of the scroll button in the Card deck.
kendo-card-deck-scroll-button-offset-$kendo-button-border-width-1pxDefault: -$kendo-button-border-widthComputed: -1px
Description: The border radius of the scroll button in the Card deck.
kendo-card-callout-width20px20pxDefault: 20pxComputed: 20px
Description: The width of the Card callout.
kendo-card-callout-height20px20pxDefault: 20pxComputed: 20px
Description: The height of the Card callout.