Input

A styled text input field.

Loading preview…

Installation

Usage

Use input for single-line text entry. Supports standard HTML input types and bindable value.

1<script lang="ts">
2	import { Input } from '~/components/input';
3</script>
4
5<Input type="email" placeholder="Email" class="max-w-xs" />