# Rendering Components

### Inline Components

The basic way to render components is using the following syntax.&#x20;

```html
<mv-Button/>
```

#### Additional Content / Slots

In the previous example we've used a component with self-closing syntax. But what if we wanted to pass additional content to the component? We would use the following syntax.&#x20;

```html
<mv-Button>Click Me</mv-Button>
```

The text "click me" is now available within the component view using the variable <mark style="color:red;">`content`</mark>.

Our component view would look as follows.&#x20;

<pre class="language-django" data-title="Button.html"><code class="lang-django"><strong>&#x3C;button class="btn btn-primary">{{ content }}&#x3C;/button>
</strong></code></pre>


---

# 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://bayside.gitbook.io/mv-components/essentials/rendering-components.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.
