Tailwind CSS 31 🎨 State Variants (disabled:, checked:, required:, valid:, invalid:)
A form element has states that are not driven by the pointer. A disabled button cannot be clicked. A checked checkbox is selected. A required input must be filled. A valid input passes validation. An invalid input fails it. These states are part of the element, not of the interaction, and Tailwind exposes them as…