Skip to content
pragma v0
  • Guide
  • Examples
  • Agents
  • GitHub

Examples

Every pragma feature, one section at a time. Each example reads its own source files at request time and renders them next to the running component, so the listing can never drift from what you see.

  1. Syntax{path}, bindings, events, blocks
  2. ComponentsOne file, props, slots
  3. State and actionslet, functions, mount, services
  4. StoresShared and persisted state
  5. RoutingFiles as routes, params, query, prefetch
  6. Data and SSRload, server actions, skeletons
  7. OverlaysModal, alert, dropdown, Back button
  8. StylingUtilities, theme tokens, component CSS
  9. npm packagesTree-shaken per package
  10. LogsOpenTelemetry, client and server
  11. SEO and headTitle, meta, Open Graph

Built with pragma: prebuilt HTML, no client framework, zero warnings from pragma check --strict.

  • Guide
  • Examples
  • For agents
  • llms.txt
  • How this head is built
  • GitHub