# Struct ui::Section

> One to three texts with a button or thumbnail beside them (type 9).

`zaun_client::ui::Section` · Struct

```rust
pub struct Section
```

One to three texts with a button or thumbnail beside them (type 9).

## Methods

### `with_button`

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

Texts with a button.

### `with`

```rust
pub fn with(texts: &[&str], accessory: Component) -> Component
```

Texts with `accessory` (a button or a `Thumbnail`).

## Trait implementations

`Clone`, `Copy`, `Debug`

[Full rustdoc page](/docs/api/rust/zaun-client/zaun_client/ui/layout/struct.Section.html)
