ResponsiveSlot
A slot for each width of the screen, from the narrowest up, as Chakra
UI’s responsive props read Tailwind’s breakpoints: base below sm,
and each key from its width up until a wider key the object names.
Example
Section titled “Example”<Panel slot={{ base: Slot.BottomRight, sm: Slot.Right }} />Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
2xl? |
Slot |
From 96rem, Tailwind’s 2xl:. |
base |
Slot |
Below sm, and at any width no wider key names. |
lg? |
Slot |
From 64rem, Tailwind’s lg:. |
md? |
Slot |
From 48rem, Tailwind’s md:. |
sm? |
Slot |
From 40rem, Tailwind’s sm:. |
xl? |
Slot |
From 80rem, Tailwind’s xl:. |