PageHub Documentation
Ship faster with fewer mistakes. Each guide tells you what to do and what to verify.
Browse by category
Start with setup guides, then use reference docs when you need details.
Getting Started
Get productive quickly with setup and core workflow guides.
Reference
Look up exact component, prop, and styling details when needed.
Component Schema Browser
Props, categories, and usage details for component definitions.
CSS Variables Reference
Design tokens and custom properties used by the rendering system.
Tailwind Utility Schema
Schema docs for utility configuration and supported options.
SDK
Embed the PageHub editor in your own app. Host integration, extensibility, and the rendering pipeline.
Host integration
PageHubConfig shape, feature flags, callbacks, locale, AI config.
Extensibility
registerBlocksProvider, registerComponentAllowlist, media handler, form handler, presets, modifiers, inspector properties.
Adding custom components
defineComponent, the resolver, props schema, toHTML, settings panels.
Constrained editor modes
Email mode, CSS allowlist, catalog filters, blocks provider injection.
State system & URL bridge
setState/getState, stateInputs, mountUrlQueryStateBridge, visibility entries.
Data bindings & repeaters
{{item.*}} interpolation, dataSource scope, client refetch via stateInputs.
Actions & handlers
link, show-hide, set-state, add-to-cart, conditions, handler chains.
Rendering pipeline
Editor vs viewer vs static-renderer — why three runtimes, what each ships.
Platform Capabilities
Set up key features like integrations and commerce without guesswork.
Global JavaScript and Integrations
Set up scripts, analytics, and redirects with a clear publish checklist.
Stripe + Commerce
Connect Stripe, bind products, and ship cart + checkout safely.
MCP Quickstart
Connect Claude, Cursor, or VS Code to the PageHub MCP server quickly.
JSON docs index
If you use AI tools, this lets them read the same docs you read.
Optional for AI tools
- 1. Read `/api/docs/index`.
- 2. Follow links to these same docs pages.
- 3. Refresh when `lastUpdated` changes.
curl -s https://pagehub.dev/api/docs/index | jq '.categories[].title'
Need help with something not covered here? Reach out and we'll help directly.