# Root Child Root Child is a React component which will render its children as descendants of the root `` element. This is handy in cases where you want to fix an element to the bounds of the page, without worrying that an ancestor positioning may impact the child's style. ## Usage ```jsx import { RootChild } from '@automattic/components'; export default function MyComponent() { return (
This text will be a child of MyComponent This text will be a child of the root element, not of MyComponent
); } ``` ## Notes The `` children are wrapped in a single `
` element, so they are not truly direct descendants of the `` element.