Get StartedFoundationsComponentsPatternsIntegration
01.Get Started
02.Foundations
03.Components
04.Patterns
05.Integration
Overview
Accordion
Badge
Breadcrumb
Button
Gradient Button
FAB
Icon Button
Card
Checkbox
Chips
Date Picker
Dialogs
Divider
List
Loading
Menu
Options
Pagination
Radio
Scrollbar
Search
Selector
Skeleton
Slider
Swiper
Switch
Tabs
Text Field
TextArea
Toast
Tooltip

SCROLLBAR

PreviousRadio
SearchNext
ELFBAR Design

V 0.1.0

A design system built for BMD teams.

Brand Marketing Department

Resources

  • GitHub
  • Storybook
  • Figma

Documentation

  • Changelog
  • Components
  • Tokens
  • Global market globe

Brands

  • ELFBAR Official
  • LostMary Official

Copyright © 2026 ELFBAR. All rights reserved.

When to Use

Example: flavor catalog — scrollable list

Flavor catalog

Mint

Fruit

Tobacco

Citrus

Ice

Classic Mint

Cool & smooth

Arctic Ice

Intense cooling

Double Mint

Extra fresh

Berry Mint

Berry freshness

Iced Watermelon

Summer chill

Lime Mint

Tangy cool

Iced Grape

Rich & icy

Peach Ice Tea

Fruity blend

  • Ensuring a consistent scrollbar appearance across browsers and OS themes
  • Scrollable panels, sidebars, or content areas where the default scrollbar clashes with the design
  • Dropdown menus or modal content that overflows its container
  • Don't completely hide the scrollbar — users should always know content is scrollable

Usage Guidelines

DO

Apply the custom scrollbar style consistently to all scroll areas. Keep the scrollbar style subtle and unobtrusive

Don’t

Don't completely hide the scrollbar — users need to know content is scrollable

DO

Ensure the thumb height is sufficient to clearly indicate scroll position. Consider touch scroll momentum on mobile

Don’t

Don't use a thumb that's too thin (less than 6 px). Don't use overly bright or high-contrast scrollbar colors. Don't modify scrollbar behavior logic, only its visual style

Interaction Behavior

StateDescription
Mouse wheelContent scrolls, thumb position updates synchronously
Drag thumbDirectly positions scroll position
Click trackPage-jumps to clicked position
HoverThumb color deepens from --ds-color-grey-state-default to --ds-color-grey-state-hover
Touch scrollContent follows finger with inertial scrolling

Accessibility

RequirementImplementation
Keyboard scrollingSet tabindex="0" on scroll container so it can be focused and scrolled with arrow/Page keys
Assistive technologyCustom styles do not affect native scrolling functionality for assistive tech
Content reachabilityEnsure all content is accessible via keyboard scrolling