# stream — Examples

## basic

```html
<stream-ui>This is static content inside a stream element. Assign an AsyncIterable to the .tokens property to begin streaming.</stream-ui>
```

## hide-cursor

```html
<stream-ui streaming>Streaming with cursor...</stream-ui>
```

## pace

```html
<stream-ui>Pace is set programmatically when assigning .tokens. A value of 0 renders tokens immediately; higher values create a typewriter effect.</stream-ui>
```
