# Label

A simple label. Usually used in conjunction with a FormField

## Installation

```tsx
import { Label } from 'uxp/components';
```

## Signature

```tsx
const Label: React.FunctionComponent<ILabelProps>
```

## Examples

```tsx
<Label>Name</Label>
```

## Properties

| Name        | Type                                                                                | Mandatory | Default Value | Example Value |
| ----------- | ----------------------------------------------------------------------------------- | --------- | ------------- | ------------- |
| labelFor    | string                                                                              | No        | -             | -             |
| className   | string                                                                              | No        | -             | -             |
| inline      | boolean                                                                             | No        | -             | -             |
| styles      | React.CSSProperties                                                                 | No        | -             | -             |
| spacingMode | [SpacingMode](https://help.iviva.com/uxp/v5/additional-resources/types/spacingmode) | No        | -             | -             |
| icon        | string                                                                              | No        | -             | -             |
| children    | React.ReactNode                                                                     | No        | -             | -             |

## Related Types

* [ILabelProps](https://help.iviva.com/uxp/v5/additional-resources/types/ilabelprops)
* [SpacingMode](https://help.iviva.com/uxp/v5/additional-resources/types/spacingmode)
