primaryClick runs the main action; actionClick identifies a secondary action by id. actions may include disabled entries or dividers. loading prevents duplicate activation while work is pending. The item Template replaces secondary action content; it does not replace the dropdown control or its keyboard behavior.
These inputs require a model or function, not a checkbox. Edit the same-named field in the Source component and bind it in the template; data already used by this preview appears in the state above.
primaryClick runs the main action; actionClick identifies a secondary action by id. actions may include disabled entries or dividers. loading prevents duplicate activation while work is pending. The item Template replaces secondary action content; it does not replace the dropdown control or its keyboard behavior.
Inputs, models and Outputs are extracted from the installed Core package. Named public types link to their definitions. Templates below include executable examples.
Inputs
Configure the component with [property]="value". Your application supplies these values; the component does not replace the state you pass in.
Reports closure of this component. Consult the payload type for the emitted data.
opened
void
(opened)="onOpened($event)"
Reports opening of this component. Consult the payload type for the emitted data.
primaryClick
MouseEvent
(primaryClick)="onPrimaryClick($event)"
Emits the native event for the main button action.
Templates
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.
Use the supported public tokens listed below. Surrounding layout belongs to your application; validate the result in light and dark modes and narrow containers.
Specific tokens
Token
Purpose
State / variant
Default / source
Fallback
--neu-split-button-primary-divider
Inherited theme value used by this component
Field surface
rgba(255, 255, 255, 0.25)Root declaration
No token alias
Shared tokens used
Override these on a local wrapper to affect this example. An override on :root affects other components that use the same token.
Token
Purpose here
Other impact
Default / fallback
--neu-border
Normal control and cell borders
Shared by other Core consumers; scope the override.
rgba(15, 23, 42, 0.08)
--neu-radius
Control corner radius
Shared by other Core consumers; scope the override.
8px
--neu-surface
Main field, header or control surface
Shared by other Core consumers; scope the override.
#ffffff
--neu-surface-2
Secondary surfaces and alternating rows
Shared by other Core consumers; scope the override.
#f1f5f9
--neu-text
Main text and inherited icon color
Shared by other Core consumers; scope the override.
#0f172a
--neu-text-disabled
Text of disabled controls
Shared by other Core consumers; scope the override.
#64748b
--neu-font-sans
Text typography
Shared by other Core consumers; scope the override.