0.3.3 • Published 11 months ago

overflow-scroll-fade v0.3.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

overflow-scroll-fade

Add a gradient-based dynamic fade effect to elements with scrollable overflow.

  • ⚛️ React JSX based
  • 🔄 Works with either horizontal or vertical overflow
  • ❗ Requires the ScrollTimeline API
    • Currently works in Chrome, Edge and Opera
  • ⚠️ Published as TypeScript and JSX see this post on 𝕏 for the reasoning

!NOTE
This library is a much simpler successor to indicate which has less restrictions and more features but uses older and more performance intensive techniques.

Usage

import { Scroll } from 'overflow-scroll-fade'

const MyScroll = () => (
  <Scroll direction="horizontal">
    <p>overflow-scroll-fade</p>
    <p>overflow-scroll-fade</p>
  </Scroll>
)
0.3.3

11 months ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago