UI components
@mndw/ui provides framework-agnostic custom elements and shared styles for plugin interfaces. The host registers the elements, so plugins can use their tags directly.
For framework integrations, see Shared UI components.
variant="primary", "secondary", "ghost", or "danger"; type="button", "submit", or "reset".
Renders one Lucide symbol from the shared sprite; name and label; host supplies iconSpriteUrl.
Emits mndwchange; form-associated with name, value, required, and invalid.
role="switch" on the host; immediate-effect toggle. Emits mndwchange.
Native inner <input> with delegated focus. Emits mndwinput and mndwchange.
Native inner <textarea>; rows sizing with opt-in autosize. Same events.
Light-DOM label/hint/error wrapper for a single control. Renders no shadow root.
Slotted <mndw-option> children. Emits mndwchange.
role="radiogroup" with slotted <mndw-segment> children. Emits mndwchange.
role="slider" on the host; numeric range with pointer drag. Emits mndwinput and mndwchange.
Container owning an internal tablist, the active value, and its children's ARIA. Emits mndwchange.
Describes its first slotted element on hover and focus. Not form-associated.
Native viewport with an always-visible bespoke scrollbar when content overflows.
Framework-neutral data table; columns/rows as properties, controlled sort/selection/visibility, custom light-DOM cell renderers.
Timestamped multi-series line/area chart; data is assigned through properties.
Timestamped positional bar chart; data is assigned through properties.
Compact percentage bar chart; data is assigned through points.
Compact utilization heat strip; data is assigned through points.
Global layout, status, form, and table styles for consistent pages.