Slot

Slot is a component that merges its props onto its immediate child.

Usage

import { Slot, Slottable } from "@yamada-ui/react"
<Slot>
  <Slottable />
</Slot>

Multiple Children

Slot only accepts a single child element. If you want to accept multiple children, use Slottable.