Skip to main content

Marks the tag of your component whose attributes pass to the caller's element when the caller sets asChild="{true}".

Add it inline inside the opening bracket of that tag, like {ui:ref(...)} and {ui:attributes()}. It also gives the component its asChild prop:

See Composition for how callers use asChild.

None