> ## Documentation Index
> Fetch the complete documentation index at: https://velt.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Setup

> [tab] React / Next.js
>
> ## 1. Import the Arrow components from @veltdev/react
>
> Import the `Arrow` components
>
> ```js theme={null}
> import { VeltArrows, VeltArrowTool } from '@veltdev/react';
> ```
>
> ## 2. Place the VeltArrows component
>
> Place the `VeltArrows` component at the root of your app.
>
> ```js theme={null}
> <div>
>   <VeltArrows/>
> </div>
> ```
>
> ## 3. Place the VeltArrowTool component
>
> Place the `VeltArrowsTool` component wherever you want the invite button to appear.
>
> ```js theme={null}
> <div className="toolbar">
>   <VeltArrowTool />
> </div>
> ```

> [tab] Other Frameworks
>
> ## 1. Place the \<velt-arrows> component
>
> Place the `<velt-arrows>` component at the root of your app.
>
> ```html theme={null}
> <div>
>   <velt-arrows></velt-arrows>
> </div>
> ```
>
> ## 2. Place the \<velt-arrow-tool> component
>
> Place the component wherever you want the invite button to appear.
>
> ```html theme={null}
> <div class="toolbar">
>   <velt-arrow-tool></velt-arrow-tool>
> </div>
> ```

```js React / Next.js theme={null}
import { VeltArrows, VeltArrowTool } from '@veltdev/react';

function YourComponent() {

  return (
    <div>
      <VeltArrows/>
      <div className="toolbar">
        <VeltArrowTool />
      </div>
      
    </div>
  )
  
}
```

```html HTML theme={null}
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Collaboration App</title>
    <script type="module" src="https://cdn.velt.dev/lib/sdk@latest/velt.js" onload="loadVelt()"></script>
    <script>
      async function loadVelt() {
        await Velt.init("YOUR_VELT_API_KEY");
      }
    </script>
  </head>
  <body>
    <velt-arrows></velt-arrows>
    <div class="toolbar">
      <velt-arrow-tool></velt-arrow-tool>
    </div>
    
  </body>
</html>
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.