# resources (as an array)

> FullCalendar v5 documentation, for an old release. Web version: https://legacy.fullcalendar.io/v5/resources-array
>
> Latest version (v7): https://fullcalendar.io/docs/resources-array.md

Premium feature.

Tells the calendar to display resources from an array input.

```js
var calendar = new Calendar(calendarEl, {
  resources: [
    {
      id: 'a',
      title: 'Room A'
    },
    {
      id: 'b',
      title: 'Room B'
    }
  ]
});
```

The `id` property is the most important because it allows [associating events with resources](https://legacy.fullcalendar.io/v5/resources-and-events.md). See [Resource parsing](https://legacy.fullcalendar.io/v5/resource-parsing.md) spec for a full list of fields.
