Components
<UpdateUsernameCard />
The <UpdateUsernameCard />
component provides a simple, intuitive UI that enables users to update their account username within the authentication system. This component automatically integrates with the AuthUIProvider
context, leveraging the username configuration set by your authentication framework.
Usage
Include the <UpdateUsernameCard />
in your custom settings or profile page:
Reference
These are the available props for <UpdateUsernameCard />
:
Prop | Type | Default |
---|---|---|
className? | string | - |
classNames? | SettingsCardClassNames | - |
isPending? | boolean | - |
localization? | AuthLocalization | authLocalization |
Styling
The styles can be customized precisely with Tailwind classes via the classNames
prop: