Skip to main content
Use this hook when you need to access store metadata like the logo URL, platform information, or custom configuration. It’s useful for building custom headers, or branded components.
Let your agent build it. The Ollie Shop skill ships with projects created by npx create-ollie-shop and knows to read the platform account from here rather than taking it as a component prop.
Prompt
Don’t have the skill yet? Install it.

Import

Return Value

theme

The theme object contains CSS custom properties (tokens) that define your store’s visual identity. These values are configured in the Theme settings in the Admin.

props

The props object contains custom configuration values that you define in the Admin under your Version settings. You can create any custom properties you need for your store.
Custom props are defined in the Admin under Version > Props. You can add any JSON configuration that your custom components need.

Usage

Example

Display the store logo in a custom header component with platform-specific styling.