Scrollable
Scrollable area adorned with top and bottom drop shadows on scroll detection
Shadow is shown on top if you scroll upwards Shadow is shown on bottom if you scroll downwardsIf you don't specify height you will get a default height per the Scrollable component (subject to change)
Basic usage of scrollable with provided height
Show editable code example
Any Paragon component or export may be added to the code example.
With padding used by consumer
Show editable code example
Any Paragon component or export may be added to the code example.
Props API#
Scrollable Props API
- children
node
RequiredSpecifies the content of the
Scrollable
. - className
string
Additional classnames for this component.
Usage Insights#
Scrollable
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-lib-content-components | 20.32.0 | 1 |