Home / Function/ SelectScrollDownButton() — ui Function Reference

SelectScrollDownButton() — ui Function Reference

Architecture documentation for the SelectScrollDownButton() function in select.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  f1e06a2b_415e_a701_5b4c_2be0c15f6f0c["SelectScrollDownButton()"]
  fe39748a_c966_fa92_b3e1_40ee6a9da692["select.tsx"]
  f1e06a2b_415e_a701_5b4c_2be0c15f6f0c -->|defined in| fe39748a_c966_fa92_b3e1_40ee6a9da692
  style f1e06a2b_415e_a701_5b4c_2be0c15f6f0c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/base/ui/select.tsx lines 172–188

function SelectScrollDownButton({
  className,
  ...props
}: React.ComponentProps<typeof SelectPrimitive.ScrollDownArrow>) {
  return (
    <SelectPrimitive.ScrollDownArrow
      data-slot="select-scroll-down-button"
      className={cn(
        "bg-popover bottom-0 z-10 flex w-full cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4",
        className
      )}
      {...props}
    >
      <ChevronDownIcon />
    </SelectPrimitive.ScrollDownArrow>
  )
}

Subdomains

Frequently Asked Questions

What does SelectScrollDownButton() do?
SelectScrollDownButton() is a function in the ui codebase, defined in apps/v4/examples/base/ui/select.tsx.
Where is SelectScrollDownButton() defined?
SelectScrollDownButton() is defined in apps/v4/examples/base/ui/select.tsx at line 172.

Analyze Your Own Codebase

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

Try Supermodel Free