# Create new component

To speed up the development process, we provide a boilerplate with a minimal file structure. You can copy it into your components folder with a single command.

{% tabs %}
{% tab title="npm" %}

```bash
npx vueless create <componentName>

# example:
# npx vueless create URadioCard
```

{% endtab %}

{% tab title="yarn" %}

```bash
yarn vueless create <componentName>

# example:
# yarn vueless create URadioCard
```

{% endtab %}

{% tab title="pnpm" %}

```bash
pnpm exec vueless create <componentName>

# example:
# pnpm exec vueless create URadioCard
```

{% endtab %}

{% tab title="bun" %}

```bash
bunx vueless create <componentName>

# example:
# bunx vueless create URadioCard
```

{% endtab %}
{% endtabs %}

The component will be created in the `.vueless/components` folder.


---

# 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.vueless.com/own-components/create-new-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.
