> For the complete documentation index, see [llms.txt](https://tina-hammar.gitbook.io/tall-forms/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tina-hammar.gitbook.io/tall-forms/field/labels.md).

# Labels

```php
//visibility
hideLabel()

//text slots
labelSuffix(string $word)
afterLabel(string $text)
afterLabel(string $text)
labelSuffix(string $string) //Example labelSuffix('(*)') for required fields

//styling
labelWidth(string $class) //Used only on inline forms. Default = sm:w-1/3
labelAlign(string $class)
labelClass(string $classes, $merge = true) //merge with default classes or not
labelWrapperClass(string $classes)
```

![](https://github.com/tanthammar/tall-forms/wiki/label-suffix.png)

#### Example

```
Input::make('Label')
    ->afterLabel('After label')
    ->labelSuffix('suffix')
    ->rules('required|string'),
```

***
