NEURALNG

TOOLBAR

API

Five standalone composition primitives and one typed focus event.

Components

NeuralToolbarneural-toolbar

Owns semantics and focus movement.

NeuralToolbarStartneural-toolbar-start

Logical starting actions.

NeuralToolbarCenterneural-toolbar-center

Flexible centered content.

NeuralToolbarEndneural-toolbar-end

Logical ending actions.

NeuralToolbarSeparatorneural-toolbar-separator

Orientation-aware semantic separator.

Toolbar inputs

NameTypeDefaultDescription
orientation NeuralToolbarOrientation 'horizontal' Controls layout, separator direction and arrow keys.
wrap boolean true Allows horizontal content to wrap.
loop boolean true Wraps roving focus between logical edges.
rovingFocus boolean true Maintains one tab stop and handles directional navigation.
ariaLabel string | null 'Toolbar' Accessible name when ariaLabelledby is absent.
ariaLabelledby string | null null References visible naming content and takes precedence.
toolbarClass string '' Adds classes to the internal role=toolbar element.
classes NeuralToolbarClasses {} Typed classes for every slot.
unstyled boolean false Removes NeuralNg visual classes.

Section inputs

sectionClassstring''

Additional class for start, center or end section roots.

separatorClassstring''

Additional class for the separator element.

Events

focusChangedNeuralToolbarFocusChange

Emits the focused item index, HTMLElement and originating keyboard or focus event.

Typed class slots

root

Toolbar role and visual surface.

start

Logical starting section.

center

Flexible centered section.

end

Logical ending section.

separator

Semantic separator line.

Public types and compatibility

NeuralToolbarOrientation · NeuralToolbarClasses · NeuralToolbarFocusChange

Former Toolbar*Component exports remain deprecated aliases. New code uses the canonical NeuralToolbar* names.