window.swish after initialization.
API reference
Configuration
Options for createSwish() - design tokens, features, components, and
intents.
Intents
Trigger actions like saving a product, opening a list, or starting a
checkout.
State
Reactive signals for tracking saved item state, context, and counts.
Elements
Drop-in swish-save and swish-drawer custom elements for Liquid themes.
Placements
Insert Swish buttons into your theme using DOM observation.
Events
Subscribe to item, list, cart, and notification events.
API client
Query and mutate saved items, lists, orders, and notifications.
Storefront API
Load products, images, and recommendations from the Shopify Storefront API.
Utilities
Clipboard, share URLs, and programmatic UI element creation.
Examples
Save button, header badge, custom wishlist page, and drawer tabs - as
elements, state helpers, and React.