Nested components
Put instances of components inside other components, or let a widget field choose which component to render.
Components can contain instances of other components, for example a card component with a button component inside. A change to the inner component reaches every outer component that uses it. Widgets also have a Component field type: the editor picks a component from a list and it is rendered in that spot, with its own variable values. This keeps design systems small: build atoms once and compose them into larger blocks.
How it works
- An instance can live inside a component's tree; rendering goes through render.symbol recursively.
- Self-reference guard: a component already in the render chain is skipped; more than 500 nested levels returns 'Failed to render component.'
When to use it
- A pricing card that uses a shared Button component
- A hero widget where the editor chooses which CTA component to show
Limitations
- A component cannot include itself (directly or through a chain).
Availability
- Works in Designer and MCP.
- Included in every plan.
How to use it.
- Edit a component.
- Set an inner element to an instance of another component (Get component, then Set).
- Or add a Component field in Variables and pick the component per instance.
Questions.
What happens if the chosen component is deleted?
Related features.
Reusable components
Turn any group of elements into a named component you can reuse across every page of the site.
Widgets (component variables)
Give a component its own fields (text, image, select, color...) so every instance is filled in through a simple form.
Component instances
Place a component as an instance; each instance follows the definition and can override its own text and attributes.
Browse other features
Designer
Bring your ideas to life with our visual website builder. Drag and drop with ease, or dive into coding when needed.
→AI Studio
Describe it and AI builds it. Every change lands in the same project you can open in the Designer.
→MCP
Connect Claude Code, Cursor or any MCP client and build whole sites with your own agent.
→CMS
Create, organize, and manage your dynamic content with the maximum freedom and flexibility of our visual CMS.
→SEO
Divhunt delivers ultra-fast & structured sites that are good for ranking by default, while offering complete control for customization.
→REST API
Easily link to any REST API endpoint with instant preview and expand your site’s functionality smoother than ever before.
→Plugins
Divhunt offers an open platform for creating plugins to upgrade features, add new capabilities, and simplify building better sites.
→Localization
Localize everything from static pages and CMS content to URLs and metadata, in up to 15 languages with no add-on.
→Interactions
Visually create animations and interactions with a simple, intuitive timeline. Build smooth, engaging experiences without code.
→Custom Files
Manage JS and CSS files with a structure developers love, combining folders and clean organization.
→Memberships
Create plans, decide who sees what and connect it all to your CMS. Build courses, communities or client portals.
→