ui-kit0.0

Display

Scroll area

Thin overlay scrollbars and edge fades.

Changelog

The browser still does the scrolling, so wheel, touch, trackpad, find-in-page and keyboard behave natively. The slim thumb is an overlay on top of it, and the edges fade only where there is more to read. Scroll the list and watch the top fade appear.

Changelog

  1. v2.14.0Feature24 November 2026
    • Scheduled reports can be sent to Slack channels.
    • Invoices show a payment timeline.
    • New keyboard shortcut ⌘K for the command menu.
  2. v2.13.2Fix12 November 2026
    • Fixed rounding on multi-currency invoices.
    • CSV exports keep leading zeros in account numbers.
  3. v2.13.0Feature29 October 2026
    • Team roles: viewer, editor, billing admin.
    • Audit log retention extended to 24 months.
    • Dark mode follows the system setting by default.
  4. v2.12.1Fix16 October 2026
    • Webhook retries no longer duplicate events.
    • Date pickers respect the workspace week start.
  5. v2.12.0Feature2 October 2026
    • Import customers from a CSV in under a minute.
    • Bulk actions on the invoice list.
    • Faster dashboard loads for workspaces over 10,000 rows.
  6. v2.11.0Feature18 September 2026
    • Expense categories can be nested.
    • Receipts are scanned and matched automatically.

When to use

  • A panel with a fixed height whose content can grow: changelogs, logs, side lists, chat history.
  • A row of cards or chips that may overflow sideways.

Not for the page itself (let the page scroll) or for short content that always fits.

Horizontal

Use orientation="horizontal" (or both). The content wrapper sizes to its content, so a flex row with shrink-0 items overflows instead of squashing.

  • Q3-report.pdf

    2.4 MB

  • brand-guidelines.pdf

    8.1 MB

  • invoice-0482.pdf

    96 KB

  • team-photo.jpg

    3.7 MB

  • roadmap-2027.xlsx

    412 KB

  • contract-signed.pdf

    1.2 MB

  • pitch-deck.pptx

    14.9 MB

  • receipts-oct.zip

    5.5 MB

  • 8 files

API

ScrollArea

PropTypeDefaultDescription
orientation'vertical' | 'horizontal' | 'both''vertical'Which axes scroll.
labelstring'Scrollable content'Accessible name of the scrollable region.
fadebooleantrueFade edges that have more content beyond them.
scrollbar'hover' | 'always''hover'Thumbs show on hover, focus and while scrolling, or always.
viewportClassNamestring—Class for the scrolling element (className styles the root, e.g. its height).
viewportRefRef<HTMLDivElement>—The scrolling element, for scrollTo and friends.

Size it from outside: h-80 or max-h-80 on the root. CSS knobs: --ui-scroll-fade-size (default 1.5rem).

Keyboard

KeyAction
TabFocuses the scroll region (it has a visible focus ring).
↑ ↓ ← →Scroll by a line.
Page Up / Page Down / SpaceScroll by a page.
Home / EndJump to the start / end.

Accessibility

  • The viewport is role="region" with tabindex="0" and an aria-label, so keyboard users can reach and scroll it (axe: scrollable-region-focusable).
  • The custom thumbs are aria-hidden; the native scroll position is what assistive tech reads.
  • Dragging the thumb or pressing the track is an extra for pointers, never the only way to scroll.

Motion

  • Thumbs fade in on hover and while scrolling; edge fades animate in over 220ms.
  • Reduced motion: both appear without animation.