Skip to main content
Subcomponents are child components scoped to a parent (also known as compound components). Use them to group related components together. In code, they are represented as properties of the parent component.
In this example, Card is the parent component. Header, Body, and Footer are subcomponents.

Creating subcomponents

Subcomponent panel when editing a component
  1. Open your parent component
  2. In the left panel, click on Subcomponents > to create a new subcomponent
Last modified on May 5, 2026