> ## 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 component msm-text-field.

`msm-text-field` is a web component built with Lit.

## Purpose

Render form inputs and UI controls.

## Usage

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

## Attributes / properties

| Name           | Type    | Default | Notes         |
| -------------- | ------- | ------- | ------------- |
| `title`        | string  | -       |               |
| `type`         | string  | -       |               |
| `theme`        | string  | -       |               |
| `placeholder`  | string  | -       |               |
| `helper`       | string  | -       |               |
| `leadingIcon`  | object  | -       | property only |
| `trailingIcon` | object  | -       | property only |
| `multiline`    | boolean | -       |               |
| `required`     | boolean | -       |               |
| `disabled`     | boolean | -       |               |

## Events

This component does not emit custom events.

## CSS parts

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

## Slots

* `slot[name="button"]`

## Methods

* `validate()`
