uiable

Dialog Scrollable Content

Component 2

About

A modal dialog whose body content scrolls independently when it is taller than the viewport, keeping the header and trigger fixed.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Dialog Scrollable Content to your project and fits it to your theme.

Code

How Dialog Scrollable Content is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import DialogScrollableContent from "@/components/ui/dialog-scrollable-content";

export default function DialogScrollableContentDemo() {
  return (
    <div className="flex items-center justify-center">
      <DialogScrollableContent />
    </div>
  );
}

More by uiable

View all
  • Feature Highlights Grid

    Feature Highlights Grid

    429
  • Card Tabs

    Card Tabs

    116
  • Financial Bento Grid

    Financial Bento Grid

    98
  • Chart Tooltip

    Chart Tooltip

    77
  • Portfolio Showcase Grid

    Portfolio Showcase Grid

    74
  • Marketing Hero Section

    Marketing Hero Section

    72
  • Sidebar with Search and Profile

    Sidebar with Search and Profile

    60
  • Attachment States

    Attachment States

    48

Explore more

Part of uiable — browse the full library on 21st.dev.