> For the complete documentation index, see [llms.txt](https://typing-flow.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://typing-flow.gitbook.io/docs/introduction/commands.md).

# Commands

You can create a flow with the `commands` method. It accepts an array of commands.

```typescript
new TypingFlow({
  selector: ".test",
  renderer: browserRenderer(),
}).commands([
  // array of commands
]);
```

### Supported commands:

* [text](/docs/introduction/commands/text.md)
* [backspace](/docs/introduction/commands/backspace.md)
* [del](/docs/introduction/commands/del.md)
* [cursorLeft](/docs/introduction/commands/cursorleft.md)
* [cursorRight](/docs/introduction/commands/cursorright.md)
* [delay](/docs/introduction/commands/delay.md)
