Components
Label
Renders an accessible label associated with controls.
This component is made on top of Radix UIs Label Component with our styling conventions. This component has been shared with you, ensuring that all its native properties are accessible. If you need to apply your own styling you can use the isUnstyled
(to remove styling from a particular subcomponent).
Anatomy
Import the component.
import { Label } from "@rafty/ui";
<Label />;
Usage
<Label>
Sample
</Label>