filmov
tv
Visually edit a Tailwind CSS component with a Slot control
Показать описание
For many components, one of the most important props is `children`, which usually expects a `ReactNode`. The `Slot` control allows your components to receive `ReactNode` as props, unlocking visual composition for your custom components. `Slot` is powered by the same layout technology that powers our Box component.