Label

Text label for form elements.

import { Label } from "ui-lab-components";
 
export function Example() {
  return <Label htmlFor="name">Name</Label>;
}

Basic Label

A simple label component associated with a form input. Use this to provide accessible labels for form elements.

import React from 'react';
import { Label, Input } from 'ui-lab-components';
 
export default function Example() {
  return (
    <div>
      <Label htmlFor="name">Name</Label>
      <Input id="name" placeholder="Enter your name" />
    </div>
  );
}
UI Lab