Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA password generator using crypto.getRandomValues with no modulo bias, no look-alike characters, one character per chosen set, entropy in text, Copy and Use this password.
Derived from this item’s props table, because it declares no controls of its own. This item has no standalone playground, so changes update the code, the share link and the AI prompt.
Use this beside a new-password field when you want to make a strong password the easy choice.
Do not store or log the generated password, and do not use it for one-time codes (use a numeric generator).
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
onUse | (password: string) => void | - | Called with the generated password. |
random | (max: number) => number | crypto-based | Random integer below max; replace it in tests. |
| Prop | Type | Default | Description |
|---|---|---|---|
(length, { digits, symbols }, random?) | string | - | The pure function behind it, exported for reuse. |
crypto.getRandomValues with rejection sampling, so every character is equally likely; pass random to test it.| Key | Action |
|---|---|
| Tab | Generate another, Copy, the length slider, the options, Use this password |
| Arrow keys on the slider | change the length |
The pattern ships a Testing Library test (password-generator.test.tsx) that covers the generator function (sets, look-alikes, injected randomness) and the interface (use, regenerate, copy, options).