Command Palette
Search for a command to run
Docs
Input

Input

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

Installation

npx shadcn-svelte@next add input

Usage

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

Examples

Default

Disabled

With Label

With Text

Enter your email address.

With Button

Invalid

File

Form

This is your public display name.