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
  c546ed1c_e046_6641_b5f3_637e5dac6b86["SelectScrollUpButton()"]
  f87dabbd_57de_f8ac_909d_000ae01d6e96["select.tsx"]
  c546ed1c_e046_6641_b5f3_637e5dac6b86 -->|defined in| f87dabbd_57de_f8ac_909d_000ae01d6e96
  style c546ed1c_e046_6641_b5f3_637e5dac6b86 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/select.tsx lines 147–163

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

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free