README
Coffeekraken scrollbar webcomponent
Simple webcomponent that let you skin the scrollbar as you want. It use internally the nice simplebar library
Features
- Easily customize a scrollbar element
- Automatically transfert the paddings apply on the element to the corresponding inner container to avoid visual issues
Table of content
Install
npm install @coffeekraken/scrollbar-webcomponent --save
Get Started
First, import the component into your javascript file like so:
import ScrollbarWebcomponent from '@coffeekraken/scrollbar-webcomponent'
Then simply use it inside your html like so:
<ck-scrollbar style="height:300px">
<!-- any content here... -->
</ck-scrollbar>
Coffeekraken
We are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose. All what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...