DialogScrollableContent() — ui Function Reference
Architecture documentation for the DialogScrollableContent() function in dialog-example.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 0f5a8826_218b_be68_fca9_f9ec4bc0066e["DialogScrollableContent()"] c1073453_2b4c_c2d5_cfa5_9971cf4ab47b["dialog-example.tsx"] 0f5a8826_218b_be68_fca9_f9ec4bc0066e -->|defined in| c1073453_2b4c_c2d5_cfa5_9971cf4ab47b style 0f5a8826_218b_be68_fca9_f9ec4bc0066e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/registry/bases/base/examples/dialog-example.tsx lines 122–156
function DialogScrollableContent() {
return (
<Example title="Scrollable Content" className="items-center justify-center">
<Dialog>
<DialogTrigger render={<Button variant="outline" />}>
Scrollable Content
</DialogTrigger>
<DialogContent>
<DialogHeader>
<DialogTitle>Scrollable Content</DialogTitle>
<DialogDescription>
This is a dialog with scrollable content.
</DialogDescription>
</DialogHeader>
<div className="style-nova:-mx-4 style-nova:px-4 no-scrollbar style-vega:px-6 style-mira:px-4 style-maia:px-6 style-vega:-mx-6 style-maia:-mx-6 style-mira:-mx-4 style-lyra:-mx-4 style-lyra:px-4 max-h-[70vh] overflow-y-auto">
{Array.from({ length: 10 }).map((_, index) => (
<p
key={index}
className="style-lyra:mb-2 style-lyra:leading-relaxed mb-4 leading-normal"
>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat
nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
))}
</div>
</DialogContent>
</Dialog>
</Example>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does DialogScrollableContent() do?
DialogScrollableContent() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/dialog-example.tsx.
Where is DialogScrollableContent() defined?
DialogScrollableContent() is defined in apps/v4/registry/bases/base/examples/dialog-example.tsx at line 122.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free