# yatra/3.0.16/resources/js/components/ui/label.tsx

Yatra – Travel Booking &amp; Tour Operator Software, version 3.0.16. 19 lines.

- Page: https://pluginprobe.com/plugins/yatra/3.0.16/code/resources/js/components/ui/label.tsx
- Raw: https://pluginprobe.com/plugins/yatra/3.0.16/raw/resources/js/components/ui/label.tsx
- Modified: 2026-04-14T03:47:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/3.0.16/code/resources/js/components/ui/label.tsx#L10-L20`.

```tsx
import * as React from "react";

export interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {}

const Label = React.forwardRef<HTMLLabelElement, LabelProps>(
  ({ className = "", ...props }, ref) => {
    return (
      <label
        ref={ref}
        className={`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70 text-gray-900 dark:text-white ${className}`}
        {...props}
      />
    );
  },
);
Label.displayName = "Label";

export { Label };

```
