Scrollview

Spinner

Scrollview adds a styled scrollbar to the element, identical to the one that's added for the Box class.

Example:


<div class="scrollview" style="max-height: 300px; overflow: auto">
    <div
        style="
            height: 800px;
            width: 4em;
            background: linear-gradient(
                180deg,
                var(--clr-bg-1),
                var(--clr-text)
            );
        ">
    </div>
</div>

Result: