Home / Function/ DialogStickyFooter() — ui Function Reference

DialogStickyFooter() — ui Function Reference

Architecture documentation for the DialogStickyFooter() function in dialog-sticky-footer.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  2764c43f_7a7a_f796_e65e_d4932508b5d1["DialogStickyFooter()"]
  0b2a2d88_0928_602d_6002_d22b19185b31["dialog-sticky-footer.tsx"]
  2764c43f_7a7a_f796_e65e_d4932508b5d1 -->|defined in| 0b2a2d88_0928_602d_6002_d22b19185b31
  style 2764c43f_7a7a_f796_e65e_d4932508b5d1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/dialog-sticky-footer.tsx lines 13–46

export function DialogStickyFooter() {
  return (
    <Dialog>
      <DialogTrigger render={<Button variant="outline" />}>
        Sticky Footer
      </DialogTrigger>
      <DialogContent>
        <DialogHeader>
          <DialogTitle>Sticky Footer</DialogTitle>
          <DialogDescription>
            This dialog has a sticky footer that stays visible while the content
            scrolls.
          </DialogDescription>
        </DialogHeader>
        <div className="no-scrollbar -mx-4 max-h-[50vh] overflow-y-auto px-4">
          {Array.from({ length: 10 }).map((_, index) => (
            <p key={index} className="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>
        <DialogFooter>
          <DialogClose render={<Button variant="outline" />}>Close</DialogClose>
        </DialogFooter>
      </DialogContent>
    </Dialog>
  )
}

Subdomains

Frequently Asked Questions

What does DialogStickyFooter() do?
DialogStickyFooter() is a function in the ui codebase, defined in apps/v4/examples/base/dialog-sticky-footer.tsx.
Where is DialogStickyFooter() defined?
DialogStickyFooter() is defined in apps/v4/examples/base/dialog-sticky-footer.tsx at line 13.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free