---
title: Section Blade component
---
## Overview
A section can be used to group content together, with an optional heading:
```blade
User details
{{-- Content --}}
```
## Adding a description to the section
You can add a description below the heading to the section by using the `description` slot:
```blade
User details
This is all the information we hold about the user.
{{-- Content --}}
```
## Adding an icon to the section header
You can add an [icon](https://blade-ui-kit.com/blade-icons?set=1#search) to a section by using the `icon` attribute:
```blade
User details
{{-- Content --}}
```
### Changing the color of the section icon
By default, the color of the section icon is "gray". You can change it to be `danger`, `info`, `primary`, `success` or `warning` by using the `icon-color` attribute:
```blade
User details
{{-- Content --}}
```
### Changing the size of the section icon
By default, the size of the section icon is "large". You can change it to be "small" or "medium" by using the `icon-size` attribute:
```blade
User details
{{-- Content --}}
User details
{{-- Content --}}
```
## Adding content to the end of the header
You may render additional content at the end of the header, next to the heading and description, using the `headerEnd` slot:
```blade
User details
{{-- Input to select the user's ID --}}
{{-- Content --}}
```
## Making a section collapsible
You can make the content of a section collapsible by using the `collapsible` attribute:
```blade
User details
{{-- Content --}}
```
### Making a section collapsed by default
You can make a section collapsed by default by using the `collapsed` attribute:
```blade
User details
{{-- Content --}}
```
## Adding the section header aside the content instead of above it
You can change the position of the section header to be aside the content instead of above it by using the `aside` attribute:
```blade
User details
{{-- Content --}}
```
### Positioning the content before the header
You can change the position of the content to be before the header instead of after it by using the `content-before` attribute:
```blade
User details
{{-- Content --}}
```