Dynamic Island Toast

Pro

The pill morphs, splits, and breathes. Live activity, feel native.

Loading preview...

Props

PropTypeDefaultDescription
toastDynamicIslandToast | null-The active toast. Pass null to dismiss.
secondaryDynamicIslandToast | null-Optional second activity. When set, the island enters split-mode with two pills.
defaultExpandedbooleanfalseRender expanded by default (useful for hero previews).
onExpandedChange(expanded: boolean) => void-Fired whenever the user expands or collapses the island.
onDismiss() => void-Fired when the island auto-dismisses or the user closes it.
inlinebooleanfalseIf true, position absolutely inside the nearest positioned ancestor. If false, fixed to the viewport.