Skip to Content
🎉 Coral now has an MCP Server, check out the docs
DocumentationOrganismsCreatePasswordCreatePasswordButton

CreatePasswordButton

CreatePasswordButton is a sub-component of the CreatePassword organism.

Basic Usage

Note: The button will always be disabled until the acceptable password strength is met

import { CreatePassword, CreatePasswordButton } from '@octopus-energy/coral/organisms'; <CreatePassword> <CreatePasswordButton buttonText="Set my password" acceptablePasswordStrength={4} > Set my password </CreatePasswordButton> </CreatePassword>

Full API

NameTypeDefault
buttonTextstring
acceptablePasswordStrengthnumber

From 0 (weakest) - 4 (strongest), what is the minimum level password that should be acceptable?

Last updated on