Scroller
Shows shadows on the top and/or the bottom depending on the level of scrolling on the content of the provided slot.
Useful to help the user detecting long content.
With no scrolling, it shows a shadow at the bottom.
Mid-scrolling, it shows a shadow both at the top and at the bottom.
When fully scrolled, it shows a shadow at the top.
Choose an example
Usage
<script> import {Scroller} from '@svizzle/ui'; </script> <Scroller> <h1>A title</h1> <p>{_.repeat('something ', 400)}</p> </Scroller>
Props
A title
something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something something