Docs
Input

Input

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

Installation

	npx shadcn-svelte add input
	npx shadcn-svelte add input

Usage

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

Examples

Default


Disabled


With Label


With Text

Enter your email address.


With Button


File