# Input

![Bootstrap Input](/files/-MKWYIV_KmmWePX9E7Rp)

\
Bootstrap's [Input](https://getbootstrap.com/docs/4.0/components/input-group\\) enhances the basic HTML input.

![](/files/-MKbOcXy_mxve9FsYO_8)

Use the `bsInput` class to create an instance of Bootstrap's input text box inside WireBootstrap.

```javascript
const myInput = new wire.bsInput();
```

Render the component using an HTML `input` element.

```javascript
<input id="input" class="form-control">
...
myInput.render("#input",{
    ...
});
```

### Web Component

Use the `wire-bs-input` web component to render the component using [Web Components](/bootstrap/web-components.md).

```html
<wire-bs-input wr-config=""></wire-bs-input>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wirebootstrap.com/bootstrap/input.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
