Svelte · Notifications
NotificationBell
No summary has been written for NotificationBell. Everything below is generated from the declaration shipped in 0.62.10 and describes the real contract.Public export
typescript
import { NotificationBell } from '@happyvertical/smrt-svelte/notifications';- Import path
@happyvertical/smrt-svelte/notifications- Props
- 8
- Props described
- 8 of 8
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
providerNotificationProviderYesAuthorized provider that supplies this user's notification state.labelstringNoAccessible trigger and panel heading.limitnumberNoMaximum number of recent notifications requested from the provider.iconOnlybooleanNoShow a bell icon with an unread dot/count instead of the text label.placement'below' | 'beside'No`'below'` (default) opens under the trigger; `'beside'` opens at its inline end.variantComponentProps<typeof Button>['variant']NoTrigger button variant.openbooleanNoWhether the panel is open. Bindable, so a host can close it (or open it) itself; the bell still toggles it from the trigger and closes it on light dismiss (#4566).onopenchange(open: boolean) => voidNoCalled after the panel opens or closes, with the new state.Bindable state
This component has no bindable public state.
Callback events
onopenchange(open: boolean) => void