Skip to content

Scroll fade

Fades the edges of a scroll area where more content continues.

Activity

  • Maya Chen approved the homepage copy2m
  • Leo Park commented on Pricing14m
  • Ana Ruiz uploaded 6 product shots1h
  • Sam Ito moved Launch email to Review2h
  • Maya Chen invited Jo to the project3h
  • Leo Park renamed the Q4 board5h
  • Ana Ruiz archived 12 old drafts1d
  • Sam Ito set the launch date2d
scroll-fade-demo.tsx

Installation

The CLI adds the files, packages, theme variables, and Tailwind plugin that this component uses. Before you run it, set up your project.

Usage

activity-feed.tsx

Horizontal

Also install Tag group.

All
Design systems
Typography
Motion
Accessibility
Color
Research
Prototyping
Writing
scroll-fade-horizontal-demo.tsx

Fade size

Use the --scroll-fade-size CSS variable to set the length of the fade.

Release 4.2

Projects now open where you left them. The editor keeps your scroll position, the selected layer, and the zoom level for each file.

Comments support threads. Reply to a comment to keep the discussion in one place, and resolve the thread when the work is done.

Exports are faster. Large boards export in the background, and you get a notification when the file is ready to download.

Shortcuts are now listed in the command menu. Press the question mark key to see them in any view.

scroll-fade-size-demo.tsx

API reference

orientation: "vertical" | "horizontal" = "vertical"
Direction in which the content scrolls.
--scroll-fade-size: CSS length = 1.5rem
Maximum length of each fade. A fade grows as the content scrolls away from that edge. Set it in className.