Skip to content
ghostui

Segmented sonner

Filter notices by segment and let people dismiss or act on each notice.

Preview

Changes savedYour preferences are up to date.

Installation

Copy the source files below into your project and preserve their relative imports. Load the shared tokens and the listed styles. Then install the dependencies. A standalone local registry endpoint is not available for this component.

Install
Source files

Basic usage

Use the exported component in the composition shown above. Keep labels, data, and callbacks in the consuming application.

Structure

Examples

The Preview above is the canonical segmented-sonner example. Compose it with the public parts shown in Structure.

API reference