Skip to content

ScrollBar โ€‹

Source: client/lib/theme/vueda-tailwind/shell/index.js

The custom scrollbar track. It uses a 10px touch target and switches its border side and dimensions by orientation.

Vue component: ScrollBar

SlotDefault classesDescription
rootcallbackThe custom scrollbar track. It uses a 10px touch target and switches its border side and dimensions by orientation.
thumbbg-border relative flex-1 rounded-fullThe draggable scrollbar thumb. It uses the border token as a quiet neutral fill and rounds fully inside the track.

root โ€‹

The custom scrollbar track. It uses a 10px touch target and switches its border side and dimensions by orientation.

Callback:

javascript
({ orientation }) => ({
            class: [
                "flex touch-none p-px transition-colors select-none",
                orientation === "horizontal"
                    ? "h-2.5 flex-col border-t border-t-transparent"
                    : "h-full w-2.5 border-l border-l-transparent",
            ],
        })

Source: client/lib/theme/vueda-tailwind/shell/ScrollBar.theme.js:18

thumb โ€‹

The draggable scrollbar thumb. It uses the border token as a quiet neutral fill and rounds fully inside the track.

Default classes:

bg-border relative flex-1 rounded-full

Source: client/lib/theme/vueda-tailwind/shell/ScrollBar.theme.js:29

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2