IMAGES_PLACEHOLDERS
IMAGES_PLACEHOLDERS
is a constant that provides a collection of placeholder image URLs for use during development in your Weaverse Hydrogen theme. These placeholders are useful for prototyping, default values, and testing before you have real content available.
Import
Structure
IMAGES_PLACEHOLDERS
is an object with predefined keys for common image use cases in e-commerce themes:
Usage
As default values in a component schema
In a component for fallback images
For populating demo data
Available Placeholders
logo_white
: White version of a logo placeholder (600×200)logo_black
: Black version of a logo placeholder (600×200)image
: Generic image placeholder (1024×1024)banner_1
,banner_2
: Banner/lifestyle image placeholders (1800×900)collection_1
throughcollection_6
: Collection image placeholders for hats, shoes, glasses, lamps, bags, and watches (1024×1024)product_1
throughproduct_18
: Various product image placeholders for watches, bags, shoes, lamps, glasses, and hats (1024×1024)
Notes
- All placeholders are served from Shopify CDN for reliable performance
- The SVG placeholders are lightweight and load quickly
- These placeholders should be replaced with real content in production
Related
- HydrogenComponentSchema - Component schema type definition