Skip to Content
🎉 Coral x Panda has been released 🎉 Read the Migration Guide

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 '@krakentech/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