Ravox KitSurfaces

Scroll Area

An area with the thin custom scrollbar instead of the system one, which appears on scroll and on hover. Edges fade when there is more content. Scrolling stays native: wheel, touch, keyboard and page search work the same.

  • 14:32Pix de R$ 297,00 confirmadoPedido #4821
  • 14:31Pedido criadoAcesso anual · Marina Rocha
  • 13:58Componente aprovadoBotão tecla · @caio
  • 13:40Design publicadoAurora · landing
  • 12:15Reembolso concluídoPedido #4790 · R$ 49,00
  • 11:02Novo cadastrolia@prado.design
  • 10:47Componente recusadoMenu radial · faltou foco visível
  • 10:12Cupom criadoLANCAMENTO · 20% até 05/10
  • 09:30Pix de R$ 49,00 confirmadoPedido #4819
  • 09:03Backup diárioBanco · 212 MB
  • 08:44Design atualizadoRazão · painel financeiro
  • 08:10Novo cadastrojoao@oficina.dev

Settings

Direção
Barra
Toggles

Examples

Filter strip on mobile

Long text with the scrollbar always visible

1. Licença

Cada design comprado pode ser usado em projetos seus e de clientes, sem limite de quantidade.

2. O que não pode

Revender ou distribuir o design como template, tema ou kit, pago ou gratuito.

3. Atualizações

Correções e versões novas do mesmo design ficam em Minhas compras, sem custo.

4. Reembolso

Em até 7 dias depois da compra, respondendo o e-mail do recibo.

Grows up to a height, then scrolls

  • 14:32Pix de R$ 297,00 confirmadoPedido #4821
  • 14:31Pedido criadoAcesso anual · Marina Rocha
  • 13:58Componente aprovadoBotão tecla · @caio
  • 13:40Design publicadoAurora · landing
  • 12:15Reembolso concluídoPedido #4790 · R$ 49,00
  • 11:02Novo cadastrolia@prado.design
  • 10:47Componente recusadoMenu radial · faltou foco visível

Installation

The command creates components/ui/scroll-area.tsx in your project and installs the theme with it. The file is yours: edit it as you like.

npx @ravox-ui/cli add scroll-area

Props

PropTypeDefaultDescription
orientation"vertical" | "horizontal" | "both""vertical"Which direction it scrolls.
labelstring—Name of the area for screen readers (it becomes a region). When there is something to scroll, the area enters the Tab order and the arrow keys scroll.
shadowsbooleantrueFades the edge on the side where there is still content.
scrollbar"auto" | "always""auto"Hides on its own after scrolling, or stays visible while there is something to scroll.
className / viewportClassNamestring—The height (h-72, max-h-96) goes on className; viewportClassName goes on the area that scrolls.
viewportRefRef<HTMLDivElement>—Ref of the area that scrolls, for scrollTo and scrollIntoView.

More in Surfaces