Webflow sync, pageviews & more.
NEW

How can I create a sign-up form field with an icon as a link in Webflow?

TL;DR
  • Add a Form Block with an input field and wrap it in a Flexbox Div (Input Wrapper) alongside a Link Block containing your icon.
  • Style layout with Flex settings so the input expands and the icon stays aligned; link the icon to a help URL or section and enhance accessibility with labels or tooltips.

To create a sign-up form field with an icon as a clickable link (for example, a "?" icon that links to help text), follow these steps in Webflow:

1. Add a Form Block and Input Field

  • Drag a Form Block from the Add Elements panel onto your page.
  • Inside the Form, delete extra inputs if needed and keep only the one you want (e.g., Email).
  • Select the Input Field, and give it a class (e.g., Signup Input).

2. Create a Wrapper for Input and Icon

  • Drag a Div Block into the Form and give it a class like Input Wrapper.
  • Move your input field inside this wrapper.
  • Inside the same wrapper, add a Link Block or Text Link, and place your icon (SVG, image, emoji, or font icon) inside it.

3. Style the Wrapper for Layout

  • Set the Input Wrapper to Flex → Horizontal.
  • Align items to Center or adjust padding/margins to align vertically.
  • Set Input Field to grow (Flex → Grow if possible) so it takes up available space.
  • The Icon Link can have fixed width and margin-left as needed.
  • Select the icon link and in the settings panel:
  • Use External URL for help documentation (e.g., https://example.com/help)
  • Or choose Page Section if you’re linking to an explanation on the same page

5. Optional: Add Accessibility and UX Enhancements

  • Add alt text or aria-label to the icon for screen readers.
  • Use tooltips for hover explanations (you can use Webflow interactions or basic title attributes).

Summary

Wrap the input and icon in a flexbox container, use an icon inside a Link Block for functionality, and adjust styles so the layout looks clean. This keeps your form field interactive with a clickable, helpful icon.

Rate this answer

Other Webflow Questions