# Building a Component

A basic WireBootstrap component is simply a JavaScript function or class that contains a public `render` method with a specific interface.

Depending on the requirements, component implementations can vary from the most basic [Hello World](/wirebootstrap/working-with-components/building-a-component/hello-world.md) variety to the more advanced supporting [data events](/wirebootstrap/working-with-components/building-a-component/data-events.md) and [datasets](/wirebootstrap/working-with-components/building-a-component/datasets.md). &#x20;

The pages in this section provide details on how to build components for WireBootstrap.  The examples are available in a sub-project inside the [WireBootstrap for Gentelella Lite Edition](https://www.wirebootstrap.com/products/gentelella.html#editions) download.  Once downloaded, go to the`\docs\building-a-component` directory to open the project containing the examples in this section.

The examples each create the same component called `my-component` with different levels of integration and functionality.

Any questions or thoughts on new  or existing WireBootstrap components, please email us at <info@wirebootstrap.com>.


---

# 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/wirebootstrap/working-with-components/building-a-component.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.
