Guides
Navigation
Feedback
Overlays
Layout
Data Display
Forms
.md

Forms

input

Form text input.

Installation

php artisan ui:add input

Usage

<x-ui.input type="email" placeholder="you@example.com" />

Consumes theme tokens injected by `php artisan ui:init`.

Props

Every prop with its default. Pass any of them as attributes, using : to bind a PHP value.

@props([
    'type' => 'text',
])