Home / Function/ SelectScrollUpButton() — ui Function Reference

SelectScrollUpButton() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/examples/base/ui/select.tsx lines 154–170

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

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free