Velocity X Components

Forms

Password Reset Form

Single-field reset-link request card with a built-in confirmation state toggled via a sent prop.

Subscription Included with the Velocity Components subscription.
bash
$ velocityx add password-reset-form

Built for astro.

Full docs for Password Reset Form →

Needs a licence key — subscribe here, then velocityx loginonce.

astro v1.0.0
Password Reset Form

Reset your password

Enter the email on your account and we'll send a reset link.

← Back to sign in

Props

NameTypeRequiredDefaultDescription
actionstringNo'#'
methodstringNo'POST'
headingstringNo'Reset your password'
subheadingstringNo"Enter the email on your account and we'll send a reset link."
submitLabelstringNo'Send reset link'
backHrefstringNo'#'
sentbooleanNofalse
classNamestringNo''

File this creates

The CLI writes this path into your project, relative to its root — nothing else moves.

text
components/velocity/password-reset-form/PasswordResetForm.astro

Using the Password Reset Form component

Install it with velocityx add password-reset-form. The CLI writes the source straight into your project — no runtime dependency, no registry lock-in, and it themes itself from the same primary-*/accent-* scale as the rest of the library.

More from Forms.