@fylgja/scroll-slider

1.1.1 • Public • Published

Fylgja - Scroll-slider

NPM version license

This CSS slider component allows you to make sliders with ease, and has no requirements to any Javascript.

The only reason to add some additional Javascript, would be to add extra supporting functions.

Like a navigation and a active state.

Installation

npm install @fylgja/scroll-slider

Then include the component in to your code via;

@use "@fylgja/scroll-slider";
// Or via PostCSS import
@import "@fylgja/scroll-slider";

@layer support

If you need support for @layer, use the following import;

@use "@fylgja/scroll-slider" with ($scroll-layer: "components");
// Or via native CSS import, also supported by PostCSS import
@import "@fylgja/scroll-slider" layer("components");

How to use

For more information see the scroll-slider docs on the Fylgja.dev.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @fylgja/scroll-slider

    Homepage

    fylgja.dev/

    Weekly Downloads

    17

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    7.13 kB

    Total Files

    9

    Last publish

    Collaborators

    • allrude
    • grimlink