# Source: https://dev.writer.com/components/section.md

# Section

A container component that divides the layout into sections, with an optional title.

<img src="https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=e929d071887d63abfe02df5a3e67cf64" data-og-width="1190" width="1190" data-og-height="295" height="295" data-path="framework/public/components/section.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?w=280&fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=56c01f4e4e94855b9d4a6e310d215543 280w, https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?w=560&fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=b04aac9eaf405dae3ba927cd4703170b 560w, https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?w=840&fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=f28a8d72bf2cec818382a66ae553d9a6 840w, https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?w=1100&fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=faad654187bce619862c41993cdc0702 1100w, https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?w=1650&fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=d995c02d611de4518578a5242a572597 1650w, https://mintcdn.com/writer/mFPGVlLcGxKIh_Y1/framework/public/components/section.png?w=2500&fit=max&auto=format&n=mFPGVlLcGxKIh_Y1&q=85&s=f8f3b1e4f5f42075b1295d9aae562f4f 2500w" />

## Fields

<table className="componentFields">
  <thead>
    <th>Name</th>
    <th>Type</th>
    <th class="desc">Description</th>
    <th>Options</th>
  </thead>

  <tbody>
    <tr>
      <td>Title</td>
      <td>Text</td>
      <td>Leave blank to hide.</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Collapsible</td>
      <td>Boolean</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Start collapsed</td>
      <td>Boolean</td>
      <td>Only applied when the component is collapsible.</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Accent</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Primary text</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Secondary text</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Container background</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Container shadow</td>
      <td>Shadow</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Separator</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Button</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Button text</td>
      <td>Color</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Button shadow</td>
      <td>Shadow</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Padding</td>
      <td>Padding</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Content alignment (H)</td>
      <td>Align (H)</td>
      <td>-</td>

      <td>
        <span>-</span>
      </td>
    </tr>

    <tr>
      <td>Custom CSS classes</td>
      <td>Text</td>
      <td>CSS classes, separated by spaces. You can define classes in custom stylesheets.</td>

      <td>
        <span>-</span>
      </td>
    </tr>
  </tbody>
</table>