Skip to main content

Starwind UI v1.3.1 is now available! Get started

Label

Installation

Usage

size

disabled state

API Reference

PropTypeDefault
size"sm" | "md" | "lg""md"

The component also accepts all standard HTML attributes for the <label> element.

Changelog

v1.1.0

  • tailwind-variants now implemented. This uses tailwind-merge under the hood to merge Tailwind classes without style conflicts, allowing you to override any existing classes using the “class” prop.