@atom-forge/svelte-helpers is a small TypeScript library for Svelte 5. It gives you consistent prop types, two type utilities for variant props, a few runtime helpers, and one component that adapts snippets to component-based APIs.
This book explains when each export is useful, how to combine them, and which limitations to know about.
Reading path
Overview — scope, installation, and what is exported.
Svelte helpers with @atom-forge/svelte-helpers
@atom-forge/svelte-helpersis a small TypeScript library for Svelte 5. It gives you consistent prop types, two type utilities for variant props, a few runtime helpers, and one component that adapts snippets to component-based APIs.This book explains when each export is useful, how to combine them, and which limitations to know about.
Reading path
ClassProp,AnyProp,ChildrenProp,ChildrenPropOptional.XOR,AtLeastOne, andvariantMap.as,debounce,debounceAsync, andRenderSnippet.