Components / Feedback

Toaster

Renders the toast queue. Mount once; call toasts.success()/warning()/danger() anywhere. Extra attributes go to the region element.

@ruckc/truss-ui Feedback

Import

import { Toaster } from '@ruckc/truss-ui';

Playground

intent
timeout
count

API

Any attribute (`data-testid`, `id`, ...) is forwarded to the region root.

This component takes no props.

/docs/toaster Truss UI · MIT