Rebar UI

1.0

synthetic

ScrollMask

Soft edge fades on a scrolling row, showing there is more to see past either end.

Project chipsScroll sideways: the fade shows only on the side with more
Harbour rebrandTideline mobileCrew interviewsRota exportDepot signage
Fits, no fade
Harbour rebrandTideline mobile
Tags
DesignEngResearchOps

In context

Filter rowProject filters above a task list
TasksFilter by project
All projectsHarbour rebrandTideline mobileCrew interviewsRota exportDepot signage

7 tasks across 5 projects.

Props

PropTypeRequiredDefault
scrollTrackRefRefObject<HTMLElement | null>Yes—
classNamestring | undefinedNo—

data-rebar-* attributes

data-rebar-component="scroll-mask"; data-rebar-part="start"|"end".

Migrating to Ant Design

Ant Design (web) has no direct equivalent — this ports antd-*mobile*'s ScrollMask. A migration typically hand-rolls the same scroll-listener-plus-gradient-overlay pattern, or drops the affordance entirely if the design doesn't need it.