Skip to main content

Separator

Visual divider line between content sections

Example

separator
Loading preview…

Separator

Visual divider line between content sections

Source: packages/appkit-ui/src/react/ui/separator.tsx

Props

PropTypeRequiredDefaultDescription
orientationenumverticalEither vertical or horizontal. Defaults to horizontal.
decorativeboolean-Whether or not the component is purely decorative. When true, accessibility-related attributes are updated so that that the rendered element is removed from the accessibility tree.
asChildboolean--

Usage

import { Separator } from '@databricks/appkit-ui';

<Separator /* props */ />