About
A scrollable content area placed inside a slide-out sheet, ideal for showing long text such as a privacy policy without overflowing the panel.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Scroll Area with Sheet to your project and fits it to your theme.
Code
How Scroll Area with Sheet is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import ScrollAreaWithSheet from "@/components/ui/scroll-area2";
export default function Default() {
return (
<div className="flex min-h-[400px] items-center justify-center p-8">
<ScrollAreaWithSheet />
</div>
);
}
















