Responsive Engine: adding overlay icon in text Input
In this Bubble.io tutorial video we explore one way to add icons to your text Input fields in your Bubble.io app.
Create an icon overlay: Learn how to add a sleek icon to your input fields using Bubble's new responsive engine!
Master input styling: Discover the secrets to perfectly aligning icons and text in your responsive designs.
Elevate your UI: Transform your form's look with this easy technique for adding professional touches to your Bubble forms.
Creating an Input Field with an Overlay Icon
Here's how to create an input field with an icon that overlays it using the new responsive engine. So, here's my example and I'm going to build up another one that uses the password field. So, I have a group and I have an input and I have an icon.
Setting Up the Group
Let's build those up. First of all, I need to put in a new group and this is going to be a light parent and you'll see why in a moment. Give it 100% width and then I just need enough height to work with. There we go. And then inside I'm going to place my input and my input is going to be centred but I want to take up the whole space of the group. So, let's give it 100% there and let's try 100% here. There we go.
Adding the Icon
The reason for using a light parent is that allows me to control where my icon sits. So if I draw my icon in there, so this is password so we need a lock and I'm just going to make it square. Oh, that's a little bit too big. Let's go down to 24. Better. And so, I can now control where my icon goes. Few more steps as you can probably notice.
Positioning the Icon
So, let's put the icon on the left. And yeah, not perfect because it overlaps the text which we don't want and also it's a little bit too close to the left hand side. So on the icon, I'm going to give it a margin to the left of say 12. And then in order to stop the text from appearing below the icon, I have to edit the style and increase the horizontal padding.
Adjusting the Padding
Okay, 30 wasn't quite enough. Let's go 40 and preview that. Okay, ah, so it's jumping because I built it using the default standard input style. And that has got a conditional statement. There we go. That takes away, well, it reduces from the 30 figure the horizontal padding. So if I remove those, let's try again.
Final Result and Limitations
Okay, you can see now that I have got my icon, I've got my text input. Now here I'm going to illustrate a short falling of this technique because if I was to just imagine I'm inserting a lot of text. Similarly with the input field, the horizontal padding applies to both the left and the right hand edge. So I'd say ideally I'd want the right hand edge to say go up to here. But because I've applied a 30 pixel padding, it's 30 pixels here and 30 pixels there. But if you're happy with that, then this is a really quick way to achieve the look where you have an icon within an input field.
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