TuMarca

Scroll Area

Augments native scroll functionality for custom, cross-browser styling.

stable
Tipo: ui
Versión: 1.0.0
layout scrolling overflow container
🚀 saastro/ui (Astro)

Tags

v1.2.0-beta.1
v1.2.0-alpha.5
v1.1.4
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.5
v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.9.0
v0.8.0
⚛️ shadcn/ui (React)

Installation

npx saastro add scroll-area

Usage

---
import { ScrollArea } from "@/components/ui-saastro/scroll-area";
---

<ScrollArea class="h-[200px] w-[350px]">
  <div class="p-4">
    <!-- Your scrollable content -->
  </div>
</ScrollArea>

Props

ScrollArea

PropTypeDefaultDescription
orientation"vertical" | "horizontal" | "both""vertical"Scrollbar orientation