# Struct Section

> A Components V2 section: 1–3 text blocks with a button beside them.

`zaun_bot::Section` · Struct

```rust
pub struct Section
```

A Components V2 section: 1–3 text blocks with a button beside them.

## Methods

### `with_button`

```rust
pub fn with_button(texts: &[&str], button: Button) -> Section
```

A section of `texts` with a button accessory.

## Trait implementations

`Clone`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-bot/zaun_bot/layout/struct.Section.html)
