# ContentInput > AstrolContentInput wraps an input, textarea or select (also InputText, InputSelect...) and gives it the AstrolUI look: border, height, hover and a focus ring in the theme color, with an optional icon button. Source page: https://doc.astrolui.com/form/content-input Gives your own fields the AstrolUI look and adds an action button to them. ## 1. What it is for AstrolUI **does not change your app's fields**: a bare **** looks the way the browser draws it. **AstrolContentInput** is the wrapper that gives them the AstrolUI look: same height as the buttons (38 px), theme border and radius, a stronger border on hover and a **focus ring** in the theme color while typing. It works with **input**, **textarea**, **select** and Blazor's components (**InputText**, **InputNumber**, **InputSelect**, **InputTextArea**...). Click the fields in each column to see the difference: Without AstrolContentInput ```razor @using Astrol.Component.Basic.Form @* Without the wrapper: the browser's own field *@ @* With the wrapper: AstrolUI look (border, height, radius, hover and focus ring in the theme color) *@ ``` ## 2. Icon button inside the field With **Icon** a button appears on the right of the field (the text leaves room for it) and **OnClickIcon** runs when it is pressed: clear, search, call, copy... Set **IconAriaLabel** for screen readers. **AstrolInputPassword** uses this same button to show or hide the password. ```razor ``` ## 3. Inside an EditForm Wrap Blazor's form components just like an input. When validation marks the field as **invalid**, the border turns red. **FocusRing="false"** removes the focus ring and **HasShadow="false"** the shadow, for quieter fields. Submit the empty form to see validation. ```razor ... ``` ## 4. No wrapper: aui-input and aui-textarea classes If you don't need the icon button, put the **aui-input** (or **aui-textarea**) class directly on the field and it gets the same look. ```razor @* Same look without the wrapper (no icon button and no extra margin) *@ ``` ### Supported parameters - ChildContent **(RenderFragment)**, field to wrap: **input**, **textarea**, **select** or a Blazor component (**InputText**, **InputSelect**...). - Icon **(string)**, icon of the button shown on the right of the field (**optional**). - OnClickIcon **(EventCallback)**, runs when the icon button is pressed. - IconAriaLabel **(string)**, accessible text of the icon button (defaults to the app's language). - FocusRing **(bool)**, focus ring in the theme color and stronger border on hover (default **true**). It used to be called **ShowEffect**. - HasShadow **(bool)**, soft shadow on the field (default **true**). - Class **(string)**, extra css class for the wrapper.