shadcn-svelte for Svelte 5 has been released! - Visit the preview docs

Docs
Input

Input

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

Loading...

Installation

	npx  shadcn-svelte@latest add input

Usage

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

Examples

Default

Loading...

Disabled

Loading...

With Label

Loading...

With Text

Loading...

With Button

Loading...

File

Loading...

Form

Loading...