General Stores

Scaffold StoresBecause someone has to remember

  1. Device Width
  2. isMobile (<480px), isTablet ( 480px > & < 768px), isDesktop (>1024px)

    svelte
    Loading...
  3. isLoading
  4. Implemented internally in Layout component, so it can be used, for example, in form submissions. It is also triggered during beforeNavigate and afterNavigate events, which can be used to show a loading indicator during page transitions.

    svelte
    Loading...
  5. isLoggedIn
  6. Default value is null

    svelte
    Loading...
  7. Theme Store
  8. The theme store is tightly integrated with the Layout component and internal body styling. It is also directly manipulated by the Theme Button.

    svelte
    Loading...

    Note that updates made to the store are also saved to localStorage, ensuring they persist.

Edit Page

Last Updated: -


Previous

Next

© 2026 @sierra-95/svelte-scaffold. All rights reserved.