NEURALNG

PUBLIC API

Divider contract

NeuralDivider is the canonical standalone declaration.

Inputs

NameTypeDefaultPurpose
orientation'horizontal' | 'vertical''horizontal' Logical layout and ARIA orientation.
align'start' | 'center' | 'end''center' Positions content using logical edges.
type'solid' | 'dashed' | 'dotted''solid' Visual line style.
labelstring | nullnull Plain text; overrides projection.
ariaLabelstring | nullnull Direct accessible name.
ariaLabelledBystring | nullnull ID reference; takes precedence over ariaLabel.
unstyledbooleanfalse Removes NeuralNg visual classes.
dividerClassstring'' Additive class on the separator root.
classesNeuralDividerClasses{} Typed additive class slots.

Class slots

root

The element carrying role="separator".

before

Logical line before projected or label content.

content

Label or projected content wrapper.

after

Logical line after projected or label content.

Types

NeuralDividerOrientation

'horizontal' | 'vertical'

NeuralDividerAlign

'start' | 'center' | 'end'

NeuralDividerType

'solid' | 'dashed' | 'dotted'

NeuralDividerClasses

{ root?, before?, content?, after? }

Deprecated alias

DividerComponent remains only as a compatibility alias. New code and generated AI output must use NeuralDivider.