Skip to content

Swap

Swap allows you to toggle the visibility of two elements using a checkbox or a class name.

Link to DaisyUI documentation

Properties

Property Required Type Description
rotate No bool
Any additional properties No any

Children

Accepts any HTML content

Examples

<{Swap}>

</{Swap}>