Divider

free

Divider separates content with a thin horizontal or vertical line, with an optional dashed style.

First section

Content before the divider.

Second section

Content after the divider.

import Divider from '@/components/ui/divider';

export default function UsageDemo() {
  return (

Installation

Add this component with the NateUI CLI.

npx nateui@latest add Divider

Examples

Vertical

DashboardSettingsProfileBilling
import Divider from '@/components/ui/divider';

export default function VerticalDemo() {
  return (

Dashed

Active plan

Your current subscription details.

Upgrade options

Available plan changes and add-ons.

import Divider from '@/components/ui/divider';

export default function DashedDemo() {
  return (

API

PropDescriptionTypeDefault
orientationDirection of the separator line.'horizontal' | 'vertical''horizontal'
dashedRenders a dashed line instead of solid.booleanfalse
classNameAdditional classes on the separator element.string''