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

# Input

> Displays a form input field or a component that looks like an input field.

## Installation

<Tabs>
  <Tab title="CLI">
    ```bash theme={null}
    npx shadcn-svelte@next add input
    ```
  </Tab>

  <Tab title="Manual">
    <Steps>
      <Step title="Copy component code">
        Copy and paste the component source code into your project.
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Usage

```svelte theme={null}
<script lang="ts">
  import { Input } from "$lib/components/ui/input/index.js";
</script>
```

```svelte theme={null}
<Input />
```

## Examples

### Default

Basic input field example.

### File

File input field example.

### Disabled

Disabled input field example.

### With Label

Input field with label example.

### With Button

Input field with button example.
