Scroll Fade
Fade and blur the edges of a scroll region while more content is available.
On this page
Usage
- Billing address updated2 minutes ago
- Invoice downloaded18 minutes ago
- New team member invited35 minutes ago
- Weekly report sentToday at 09:00
- Notification preferences savedYesterday
- Workspace createdNov 28
Installation
Set up your license key before connecting the private registry.
Connect this project to https://docs.interfacesds.com using the full URL shown below, including {name}. In components.json, add the registries field at the top level. If the field already exists, add only the @interfaces-ds entry inside it. Keep your existing aliases and other registries.
For a global stylesheet in app/ or src/app/.
JSON{ "registries": { "@interfaces-ds": { "url": "https://docs.interfacesds.com/r/{name}.json", "headers": { "Authorization": "Bearer ${INTERFACES_DS_LICENSE_KEY}" } } } }Install the component.
Terminalnpx shadcn@latest add @interfaces-ds/scroll-fade
API Reference
Mount the overlay beside a scrollable element in a positioned container and pass that element’s ref. Omit the ref to use the document viewport. The color should match the scroll surface.