Home / Function/ ItemSeparator() — ui Function Reference

ItemSeparator() — ui Function Reference

Architecture documentation for the ItemSeparator() function in item.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  8669bfb4_0c45_87c9_3a6d_d4d4d15a1821["ItemSeparator()"]
  29a13644_5d85_ffea_e425_32878756a728["item.tsx"]
  8669bfb4_0c45_87c9_3a6d_d4d4d15a1821 -->|defined in| 29a13644_5d85_ffea_e425_32878756a728
  style 8669bfb4_0c45_87c9_3a6d_d4d4d15a1821 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui-rtl/item.tsx lines 21–33

function ItemSeparator({
  className,
  ...props
}: React.ComponentProps<typeof Separator>) {
  return (
    <Separator
      data-slot="item-separator"
      orientation="horizontal"
      className={cn("my-2", className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free