Menu
Libraries |
Category

svelte-notifications

  • Purpose: A Svelte component for displaying notifications with various customization options.
  • Key Features:
    • Supports SvelteKit and Svelte v3.
    • Uses stores for easy operation.
    • Can persist notifications across full page reloads using session storage.
    • Offers multiple notification types (danger, warning, info, success) with customizable themes.
    • Allows per-message timeout, progress bar visibility, and persistence settings.
    • Supports custom icons via Svelte components.
  • Target Audience: Developers using Svelte or SvelteKit who need a flexible notification system.
  • Demo: Available on Svelte REPL fa-solid fa-up-right-from-square.
  • Customization:
    • Themes can be customized for different notification types.
    • Default and per-message timeouts.
    • Option to show/hide progress bars.
    • Persistent notifications with close buttons.
    • Custom icons via Svelte components.
  • Persistence: Notifications can persist across apps/page reloads using a unique sessionKey.
  • Credits: Contributions from Antony Jones, Henrique Borges, and Jonathan Greenemeier.

sveltesvelte-componentsnotificationstoasttoastrvanillajsbeyonk

Comments