<a id="text-input"></a>

## Text Input  
**Category**: Data Input
Input field for text entry with various styling options
### Examples

#### Basic Input  
```python
Input(type='text', placeholder='Type here', cls='input')
```

#### Ghost Style  
```python
Input(type='text', placeholder='Type here', cls='input input-ghost')
```

#### Fieldset with Labels  
```python
Fieldset(
    Legend("What is your name?", cls='fieldset-legend'),
    Input(type='text', placeholder='Type here', cls='input'),
    P("Optional", cls='fieldset-label'),
    cls='fieldset'
)
```

#### With Icons  
```python
Div(
    Label(
        Input(type='text', placeholder='Search', cls='grow'),
        Icon.search(),
        cls='input input-bordered flex items-center gap-2'
    ),
    Label(
        Icon.email(),
        Input(type='text', placeholder='Email', cls='grow'),
        cls='input input-bordered flex items-center gap-2'
    ),
    Label(
        Icon.user(),
        Input(type='text', placeholder='Username', cls='grow'),
        cls='input input-bordered flex items-center gap-2'
    ),
    cls='flex flex-col gap-4 w-full items-center'
)
```

#### Color Variants  
```python
Input(
    type='text',
    placeholder='Type here',
    cls=f'input input-{color}'
)
```

#### Size Variants  
```python
Input(
    type='text',
    placeholder='Type here',
    cls=f'input input-{size}'
)
```

#### Disabled State  
```python
Input(
    type='text',
    placeholder="You can't touch this",
    disabled=True,
    cls='input input-bordered w-full max-w-xs'
)
```

