# RadzenTextBox with content

**URL:** <https://forum.radzen.com/t/radzentextbox-with-content/9108>\
**Category:** Radzen.Blazor Components\
**Created:** [October 1, 2021, 2:02pm UTC](https://forum.radzen.com/t/radzentextbox-with-content/9108 "2021-10-01T14:02:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![olefevre](https://forum.radzen.com/letter_avatar_proxy/v4/letter/o/c4cdca/32.png) [@olefevre](https://forum.radzen.com/u/olefevre)\
**Post date:** [October 1, 2021, 2:02pm UTC](https://forum.radzen.com/t/radzentextbox-with-content/9108/1 "2021-10-01T14:02:01Z")

</div>

Hello,  
Is it possible to add content in a textbox (ie icon or button) to simulate the search function  
like in this image :  
 ![image](https://forum.radzen.com/uploads/default/original/2X/2/2fcc6ee3fa744f99dd34b2e929cd1317bd1f0d36.png)

Regards,

O.LEFEVRE

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [October 1, 2021, 2:42pm UTC](https://forum.radzen.com/t/radzentextbox-with-content/9108/2 "2021-10-01T14:42:26Z")

</div>

Hi @olefevre,

You can try something like this:

```auto
<div style="position: relative">
    <RadzenIcon Icon="search" style="position:absolute;top:5px; left: 5px; pointer-events: none" />
    <RadzenTextBox style="padding-left: 30px" />
</div>

```

---

<div class="post-metadata">

**Author:** ![olefevre](https://forum.radzen.com/letter_avatar_proxy/v4/letter/o/c4cdca/32.png) [@olefevre](https://forum.radzen.com/u/olefevre)\
**Post date:** [October 5, 2021, 12:52pm UTC](https://forum.radzen.com/t/radzentextbox-with-content/9108/3 "2021-10-05T12:52:21Z")

</div>

> [@korchev](#):
>
> ```auto
> <div style="position: relative">
> <RadzenIcon Icon="search" style="position:absolute;top:5px; left: 5px; pointer-events: none" />
> <RadzenTextBox style="padding-left: 30px" />
> </div>
> 
> ```

Perfect !

Thanks a lot
