Scroll

The Telerik and Kendo UI Interactivity Utilities enable you to enhance the user experience of people interacting with inputs, texts, touchscreen devices, and many more.

Scroll

The Telerik and Kendo UI Scroll Utilities are CSS utility classes that enable you to control scrolling behavior, including smooth scrolling, scroll snapping, and scroll margins and padding.

Utility ClassCSS Property
.k-scroll-autoscroll-behavior: auto;
.k-scroll-smoothscroll-behavior: smooth;
.k-scroll-snap-snap-xscroll-snap-type: x var(--k-scroll-snap-strictness);
.k-scroll-snap-snap-yscroll-snap-type: y var(--k-scroll-snap-strictness);
.k-scroll-snap-mandatory--k-scroll-snap-strictness: mandatory;
.k-scroll-snap-proximity--k-scroll-snap-strictness: proximity;
.k-scroll-snap-stop-normalscroll-snap-stop: normal;
.k-scroll-snap-stop-alwaysscroll-snap-stop: always;
.k-scroll-snap-align-startscroll-snap-align: start;
.k-scroll-snap-align-endscroll-snap-align: end;
.k-scroll-snap-align-centerscroll-snap-align: center;
.k-scroll-snap-align-nonescroll-snap-align: none;
.k-scroll-m-0scroll-margin-top: 0;
.k-scroll-m-1pxscroll-margin-top: 1px;
.k-scroll-m-1scroll-margin-top: 0.25rem;
.k-scroll-mr-0scroll-margin-right: 0;
.k-scroll-mr-1pxscroll-margin-right: 1px;
.k-scroll-mr-1scroll-margin-right: 0.25rem;
.k-scroll-mb-0scroll-margin-bottom: 0;
.k-scroll-mb-1pxscroll-margin-bottom: 1px;
.k-scroll-mb-1scroll-margin-bottom: 0.25rem;
.k-scroll-ml-0scroll-margin-left: 0;
.k-scroll-ml-1pxscroll-margin-left: 1px;
.k-scroll-ml-1scroll-margin-left: 0.25rem;
.k-scroll-y-1scroll-margin-block: 0.25rem;
.k-scroll-p-0scroll-padding-top: 0;
.k-scroll-p-1pxscroll-padding-top: 1px;
.k-scroll-p-1scroll-padding-top: 0.25rem;
.k-scroll-pr-0scroll-padding-right: 0;
.k-scroll-pr-1pxscroll-padding-right: 1px;
.k-scroll-pr-1scroll-padding-right: 0.25rem;
.k-scroll-pb-0scroll-padding-bottom: 0;
.k-scroll-pb-1pxscroll-padding-bottom: 1px;
.k-scroll-pb-1scroll-padding-bottom: 0.25rem;
.k-scroll-pl-0scroll-padding-left: 0;
.k-scroll-pl-1pxscroll-padding-left: 1px;
.k-scroll-pl-1scroll-padding-left: 0.25rem;
.k-scroll-x-0scroll-padding-inline: 0;
.k-scroll-x-1pxscroll-padding-inline: 1px;
.k-scroll-x-1scroll-padding-inline: 0.25rem;
.k-scroll-y-0scroll-padding-block: 0;
.k-scroll-y-1pxscroll-padding-block: 1px;

Scroll Behavior

Control how scrolling behaves when navigating to anchors or using scroll methods.

Auto

Use the k-scroll-auto utility for the default browser scrolling behavior.

Smooth

Use the k-scroll-smooth utility to enable smooth scrolling animations.

Scroll Snap

Control how content snaps to specific positions when scrolling.

Snap Type

Use scroll snap type utilities to define the snap behavior direction.

Snap Strictness

Control how strictly the scroll snapping is enforced.

Snap Align

Control how child elements align when snapping.

Scroll Margin

Control the scroll margin around elements when scrolling to them.

Scroll Padding

Control the scroll padding within scroll containers.

Feedback