Responsive Engine: adding overlay icon in text Input V2
In this Bubble tutorial video we explore one way to adding a Font Awesome icon to your text Input fields.
Unlock the power of input fields: Learn two methods to seamlessly integrate icons for a polished UI
Master group-based design: Discover how to create custom input fields with perfect icon placement and responsive sizing
Elevate your responsive design skills: Achieve pixel-perfect layouts with advanced padding and styling techniques
Creating a Responsive Input Field with Icon Overlay
In a previous video, I demonstrated how to get this effect where you place an icon within an input field. This method uses the input field's horizontal padding, leaving 30 pixels between the edge and the text. However, when you add a lot of random text, you end up with an unnecessary 30 pixels on the other side. Here's another approach to achieve this effect.
Setting Up the Group Container
We're going to use a group and set it as a row with 100% width and a fixed height of 54 pixels. Why 54? Because that's the height of the input field we're trying to mimic. We'll also set the roundness of the corners to 6 and apply our background color. Let's check if everything's working correctly. We're essentially building what appears to be an input field using a group, but it's actually an input field nestled within a group.
Adding the Icon
Let's add in the icon. Since we're creating a password field, we'll use a lock icon. We'll center it and apply some padding to the left and right of the container group to achieve a look similar to our previous version.
Inserting and Styling the Input Field
Now, let's put in an input field. We want to disguise this input field, so we'll remove a lot of the styling, including all of the conditional styling for now. We'll set the font color, remove the background, borders, border radius, and horizontal padding. We'll also remove the size constraint because we want it to fill up all the remaining space. However, we'll set its height to 54 pixels so that it fits neatly within the group.
Adjusting Spacing and Alignment
Lastly, let's apply a gap space between the elements. We'll start with 15 pixels and see how it looks. Although it's technically the same width on either side, I'm going to reduce it down to 10 pixels on the right side because it looks slightly more pleasing to the eye.
Advantages and Considerations
This version won't have the same issue as the previous one, but it does take a little longer to build. It's important to note that if you need to add conditional statements, such as validating an email address, you'll have to apply those conditions to the group. Otherwise, the styling will only affect part of the element, which would look a bit odd.
This is version 2 of how to place an icon within an input field, offering a more flexible and visually consistent approach.
The best way to learn Bubble.io?
Start building with total confidence
No more delays. With 30+ hours of expert content, you’ll have the insights needed to build effectively.
Find every solution in one place
No more searching across platforms for tutorials. Our bundle has everything you need, with 500+ videos covering every feature and technique.
Dive deep into every detail
Get beyond the basics with comprehensive, in-depth courses & no code tutorials that empower you to create a feature-rich, professional app.

Frequently Asked Questions
Find answers to common questions about our courses, tutorials & content.
No. Our Beginner Essentials course and AI No-Code Coach are designed for total newcomers. You’ll learn Bubble.io step by step - no coding required.
Simply type your question in plain English, and our AI taps into the entire video library to recommend the exact lessons you need. It’s like having a personal instructor on demand.
As long as you’re subscribed! With our monthly subscription, you get unlimited access to all 500+ videos, our growing course library, and the AI No-Code Coach.
Your subscription includes:
- Bubble Beginner Essentials – Get up and running fast.
- Build a ChatGPT Clone – Integrate AI into your no-code apps.
- Build Your SaaS Website with AI – Learn to create a scalable startup site.
Plus, new tutorials every week!
The AI No-Code Coach is your first stop for instant answers. If you need deeper help, you can book 1:1 Bubble coaching for expert guidance.
Yes! If you don’t see real progress within 14 days, let us know, and we’ll issue a full refund—no questions asked.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
Absolutely. Your subscription is month-to-month, and you can cancel anytime—no lock-ins, no hidden fees.
If you’re serious about building a successful SaaS startup, check out Mastery—our intensive mentorship program. Mastery goes beyond Bubble.io development and includes:
- 1:1 mentorship to fast-track your progress
- Marketing strategies tailored for no-code founders
- Product management insights to scale your startup
- Personalized support from experienced founders