Docs / Components

SenseDividerComponent

Section separator from @artificialsenselabs/ui for horizontal and vertical content boundaries with optional inline labels.

Live demo: run nx serve showcase and open /components/divider (port 4202).

Overview

Category: Layout. Selector: sense-divider. Import: import { SenseDividerComponent } from '@artificialsenselabs/ui';

<sense-divider align="left">Section</sense-divider>

Inputs

InputTypeDefaultDescription
orientation'horizontal' | 'vertical''horizontal'Rule direction.
type'solid' | 'dashed' | 'dotted''solid'Border line style.
align'left' | 'center' | 'right' | 'top' | 'bottom' | nullnull (centre)Label position along the rule.
decorativebooleanfalseHides separator from assistive tech when purely visual.
ariaLabelstring | nullnullAccessible name when the divider conveys structure.
styleClassstring | nullnullAdditional host classes.

Accessibility

  • Host exposes role="separator" and aria-orientation.
  • Set decorative when adjacent headings already define structure.
  • Provide ariaLabel when the separator itself conveys meaningful boundaries.
  • Projected label text is visual only — use ariaLabel for AT when needed.

APG reference: WAI-ARIA separator roles.