Composite Components (Components with Children)
Composite components can contain other components, enabling complex layouts and reusable patterns. Use the node annotation to describe a component property that may contain child components. By default, the children property is considered a property that contains child components.Example: Card Container
Live Example
live
Accessing Form Context
Components can access the form data and other context. The useComponentData hook returns component data, which is used by FormEngine Core to render the component. You can get the form data, component value, and other data using this hook.Live Example
live
Summary
Advanced component patterns enable you to:- Create reusable, composite components
- Access and manipulate form context
- Use
.nodefor container components - Access component data with
useComponentData()
- Explore Styling Custom Components for visual customization