# @codenhub/toaster

> Experimental instance-based browser toasts and native dialogs with required
> CSS, isolated DOM/queues/tokens, and explicit lifecycle handles.

Import `@codenhub/toaster/styles`, dispatch only in a browser, treat custom nodes
as trusted content, and call `destroy()` to release all owned resources.

## Documentation

- [Documentation overview](docs/index.md): Entrypoint to all guides, architecture, and quick start.
- [Concepts](docs/concepts.md): Dual-layer architecture, lifecycle handles, and thenables.
- [Toasts guide](docs/toasts.md): Neutral, semantic, loading, structured, and promise notifications.
- [Dialogs guide](docs/dialogs.md): Confirmations, prompts, alerts, and label localization.
- [Styling guide](docs/styling.md): Design tokens, @codenhub/styles live composition, presentation classes, and CSP.
- [Accessibility and security](docs/accessibility.md): ARIA live regions, focus restoration, reduced motion, and content sanitization.
- [Scoped instances](docs/instances.md): Multi-instance coordination, custom containers, and lifecycle teardown.
- [API reference](docs/reference/index.md): Complete TypeScript symbol catalogue compiled from declarations.
- [Changelog](docs/changelog/index.md): Release history, breaking changes, and migration notes.
