A. Toasts
Transient feedback. Auto-dismiss after a TTL. Driveable via NAC.toast(text, opts).
Every widget on this page exposes itself through the same
data-nac-* attributes you already know -- so a voice
assistant, an RPA bot or an AI agent can drive the lot through
window.NAC alone. Open the dev console and type
NAC.list() to see the registered manifests; type
NAC.system_map() for the navigation graph.
Each card below has a "drive me" button that exercises the widget through the v1.3 driver API, narrating what it did in the events log on the right.
Transient feedback. Auto-dismiss after a TTL. Driveable via NAC.toast(text, opts).
Persistent feedback at the top of a region. Manual dismiss. data-nac-role="banner".
Instant boolean. Distinct from checkbox. data-nac-field-type="toggle".
Multi-step form progress. NAC.step_next(id) / step_back(id) / step_to(id, n).
Hierarchical view. NAC.tree_expand / _collapse / _select / _path.
Month view + 4 events. NAC.calendar_select_event(id).
WYSIWYG. NAC.richtext_format / _insert_link / _insert_mention.
Free input + autocomplete. NAC.add_tag / remove_tag / list_tags.
1..5 stars. data-nac-field-type="rating", fired via NAC.fill.
Yes/no interrupting prompt. NAC.confirm(prompt, opts) -> Promise<boolean>.
Slide-out non-blocking panel. NAC.open_drawer / close_drawer / peek_drawer.
Same primitive as v1.1 table pager, here on a card grid. NAC.go_to_page(id, n).
Inline bar chart. Each point is a NAC element. NAC.chart_data(id) / chart_toggle_series.
Schematic map with markers + a layer. NAC.map_focus / map_select_marker / map_toggle_layer.
Per-user presence. State: online | away | busy | offline.
Distinguish "loading" from "nothing here yet". data-nac-role="empty-state" / "skeleton".
Every interaction emits a typed lifecycle event. Watch them flow.