Skip to content
TallCraftUI

Password

Password input with a visibility toggle and an optional password generator.

Basic usage

Password must be at least 8 characters

Blade
<x-password label="Password" wire:model="password1" />
<x-password label="Hint" wire:model="password2" hint="Password must be at least 8 characters" />

Password generator

Blade
<x-password label="Password *" wire:model="password3" generate />

API reference

Props are read from the component classes in TallCraftUI 3.0.0-beta.1. Write them in kebab-case and pass booleans as bare attributes, for example <x-button outline />. Other attributes, such as class or wire:model, are passed to the component's element.

<x-password>

View source
Prop Type Default
label string null
icon string null
icon-left string null
hint string null
inline bool false
generate bool false
Radius
rounded-none rounded-xs rounded-sm rounded-md rounded-lg rounded-xl rounded-2xl rounded-3xl rounded-full