Svrollbar

screenshot of Svrollbar
svelte

simple custom scrollbar made by svelte

Overview:

Svrollbar is a custom scrollbar made by Svelte. It provides the ability to replace the default window scrollbar, create scrollable areas within a website, replace overflow-based scrollbars, integrate with third-party libraries, customize transitions and styles, and control scrollbar visibility. It offers two components, Svrollbar.svelte and Svroller.svelte, that can be used with or without Svelte.

Features:

  • Replace Window Scrollbar: Easily replace the default window scrollbar with a custom scrollbar.
  • Make Scrollable Area: Create scrollable areas within a part of your website.
  • Replace Overflow-based Scrollbar: Use Svrollbar.svelte when you already have a scrollable viewport or contents.
  • Integrate 3rd Party Libraries: Seamlessly integrate Svrollbar into virtual list implementations such as svelte-virtual-list or svelte-tiny-virtual-list.
  • Components Specification: Check the components specification for detailed information.
  • Customize Transition: Replace the default fade animation with your own transition.
  • Customize Style: Customize the appearance of the scrollbar using CSS variables.
  • Customize Scrollbar Visibility: Control the visibility of the scrollbar with configurable properties.
svelte
Svelte

Svelte is a modern front-end framework that compiles your code at build time, resulting in smaller and faster applications. It uses a reactive approach to update the DOM, allowing for high performance and a smoother user experience.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

rollup
Rollup

RollupJS is a popular and efficient JavaScript module bundler that takes the code from multiple modules and packages them into a single optimized file, minimizing the overall size of the application and improving its performance.