# Section

The section object gives you access to the properties and setting values of a section.

The `section` object gives you access to the properties and setting values of a section.

## section.blocks

Returns an array of the section's blocks.

## section.id

For static sections, returns the file name of the section without `.liquid`. For dynamic sections, returns a dynamically generated ID.

## section.settings

Returns an object with the section settings set in the theme editor. Access setting values by the unique setting `id`.

```liquid
<h2>{{ section.settings.heading }}</h2>
{{ section.settings.featured_collection.url }}
```

```html
<h2>Weekly promotion</h2>
/collections/new-this-week
```


## More properties

VersaCommerce also provides these properties on the `section` object:

| Properties | Returns |
|---|---|
| `type`, `index`, `index0` | Section type and position when set by rendering |
