Password Input
A password field whose strength reads as temperature: four segments light left to right from deep to accent to hot to white.
$149 once · every Pro piece
Customize
The reveal toggle keeps focus and caret, Caps Lock is called out while typing, and strength changes are announced politely.
Install
npx shadcn@latest add @obsyde/password-inputNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { PasswordInput } from '@/components/obsyde/ember/password-input/PasswordInput';
export function Example() {
return (
<PasswordInput label="Password" />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/password-input/PasswordInput.tsxcomponentember/password-input/password-input.cssstylesember/password-input/PasswordInputDemo.tsxdemoember/forms-kit/kit.tsxsharedember/shared/spring.tssharedember/shared/accent.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
labelLabel | string | 'Password' |
valueValue | string | — |
showStrengthStrength meter | boolean | true |
disabledDisabled | boolean | false |