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

# Lists

To create a list of elements — map your array on a JSX element, String, or Observable

{% hint style="warning" %}
Lists **require** each child to have a **unique key** for rendering
{% endhint %}

```jsx
import Recks from 'recks';

function App() {
  const items = ['a', 'b', 'c', 'd'];

  return <ul>{
    items.map(letter => <li key={letter}>{letter}</li>)
  }</ul>
}
```
