vtex-io-render-runtime-and-blocks

Map and register VTEX IO React components as Store Framework blocks.

39|9|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/vtex/ai-skills --skill vtex-io-render-runtime-and-blocks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vtex-io-render-runtime-and-blocks
Source: https://github.com/vtex/ai-skills/tree/main/tracks/vtex-io/skills/vtex-io-render-runtime-and-blocks
Command: npx skills add https://github.com/vtex/ai-skills --skill vtex-io-render-runtime-and-blocks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Mapping and wiring VTEX IO React components to Store Framework blocks so they can be registered, configured, and rendered within storefront themes.

Core Features & Use Cases

  • Block mapping and registration: connect components to interfaces.json and define block contracts.
  • Block composition and theming: specify how blocks compose and what children are allowed, ensuring theme integration.
  • Validation and review: audit components for correct exposure and runtime compatibility.

Quick Start

Configure a VTEX IO component to be exposed as a Store Framework block in your storefront theme.

Frequently Asked Questions about vtex-io-render-runtime-and-blocks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I expose a VTEX IO React component as a Store Framework block?

To expose a VTEX IO React component as a Store Framework block, you must map and register it within the interfaces.json file, ensuring that frontmatter metadata and block contract definitions are properly configured for theme-level composition.

What is block registration in VTEX IO and how does interfaces.json work?

Block registration in VTEX IO is the process of wiring React components to Store Framework blocks via interfaces.json. This mapping connects component identifiers to theme configurations, enabling runtime rendering and storefront composition.

How do I define allowed children for VTEX IO blocks to ensure theme composition?

Defining allowed children for VTEX IO blocks requires specifying block contracts and composition rules within your component interfaces. This configuration ensures that the registered blocks render correctly within the storefront theme hierarchy.

Why does my VTEX IO block fail to render in the storefront theme?

A VTEX IO block fails to render when frontmatter metadata, block contract definitions, or interface mappings do not satisfy runtime expectations. Auditing the component exposure and interfaces.json configuration resolves these runtime compatibility issues.

Can I use VTEX IO blocks without configuring interfaces.json?

No, VTEX IO blocks require interfaces.json configuration to register components within the Store Framework. Without this mapping, the runtime cannot resolve block contracts or render the components in the storefront theme.

What's the best way to audit a VTEX IO component for runtime compatibility?

The best way to audit a VTEX IO component for runtime compatibility is to review its block contract definitions, validate the interfaces.json mappings, and ensure frontmatter metadata satisfies Store Framework rendering expectations.