Password Input

Previous

An input that can toggle visibility of the password text and check the strength of the password.

Installation

pnpm dlx shadcn-svelte@latest add https://wds-shadcn-registry-svelte.netlify.app/registry/password-input.json

Usage

<script lang="ts">
	import { PasswordInput } from '$lib/components/password-input';
</script>
 
<PasswordInput />
// Or
<PasswordInput variant="strength" />

Examples

With Strength Checker

Form