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

# progressbar

> create a progressbar in your scripts

<Note>Client side</Note>

Initiate the progress bar ,use it on the top of your script

```lua theme={null}
progressbar = exports.vorp_progressbar:initiate()
```

<Accordion icon="code" iconType="duotone" title="start">
  Start your progress UI

  <ParamField body="message" type="string" required>
    the message that will be displayed in the progressbar
  </ParamField>

  <ParamField body="duration" type="number" required>
    the duration that the progressbar will be displayed in milliseconds
  </ParamField>

  <ParamField body="callback" type="function" required>
    the function that will be called when the progressbar is done
  </ParamField>

  <ParamField body="theme" type="string" required>
    the theme of the progressbar can be `linear`, `circle`, `innercircle`
  </ParamField>

  ```lua theme={null}
  progressbar.start("Loading Example", 20000, function ()
      print('DONE!!!!')
  end, 'linear')
  ```
</Accordion>
