> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mastermindcms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# msm-text-field

> Web-компонент msm-text-field.

`msm-text-field` — web-компонент на Lit.

## Назначение

Поля форм и элементы управления.

## Пример

```html theme={null}
<msm-text-field></msm-text-field>
```

## Атрибуты / свойства

| Имя            | Тип     | По умолчанию | Примечания    |
| -------------- | ------- | ------------ | ------------- |
| `title`        | string  | -            |               |
| `type`         | string  | -            |               |
| `theme`        | string  | -            |               |
| `placeholder`  | string  | -            |               |
| `helper`       | string  | -            |               |
| `leadingIcon`  | object  | -            | property only |
| `trailingIcon` | object  | -            | property only |
| `multiline`    | boolean | -            |               |
| `required`     | boolean | -            |               |
| `disabled`     | boolean | -            |               |

## События

Этот компонент не генерирует собственных CustomEvent.

## CSS parts

* `base`
* `frame`
* `helper`
* `input`
* `label`
* `notch`

## Слоты

* `slot[name="button"]`

## Методы

* `validate()`
