Skip to main content

Installation

npx shadcn-svelte@next add input

Usage

<script lang="ts">
  import { Input } from "$lib/components/ui/input/index.js";
</script>
<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.

Build docs developers (and LLMs) love