Fields

Newsletter Input

Newsletter signup: the email and its button in one capsule. On submit, the button shrinks into a spinning circle while it waits and turns into a checkmark; the field slides away to reveal the thank-you. If the email isn’t valid, the capsule shakes.

Newsletter Input
Components used

This component contains these others. Their HTML is already included in the code; copy their CSS and JavaScript too: