Velocity X Components

Forms

Login Form

Email/password sign-in card with a show/hide password toggle driven by a scoped inline script.

Free MIT licensed. Install it with the CLI — no account, no key.
bash
$ velocityx add login-form

Built for astro.

Full docs for Login Form →

astro v1.0.0
Login Form

Welcome back

Sign in to pick up where you left off.

Forgot password?

Don't have an account? Sign up

Props

NameTypeRequiredDefaultDescription
actionstringNo'#'
methodstringNo'POST'
headingstringNo'Welcome back'
subheadingstringNo'Sign in to pick up where you left off.'
submitLabelstringNo'Sign in'
forgotHrefstringNo'#'
signupHrefstringNo'#'
classNamestringNo''

File this creates

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

text
components/velocity/login-form/LoginForm.astro

Using the Login Form component

Install it with velocityx add login-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.