# Struct ui::Select

> A select menu.

`zaun_client::ui::Select` · Struct

```rust
pub struct Select(…)
```

A select menu.

## Methods

### `strings`

```rust
pub fn strings<impl Into<String>>(custom_id: impl Into<String>, options: &[(&str, &str)]) -> Self
```

Choices of `(label, value)`.

### `entities`

```rust
pub fn entities<impl Into<String>>(kind: EntityKind, custom_id: impl Into<String>) -> Self
```

Members, roles or channels.

### `placeholder`

```rust
pub fn placeholder<impl Into<String>>(self, text: impl Into<String>) -> Self
```

The text shown before a choice.

### `range`

```rust
pub fn range(self, min: u32, max: u32) -> Self
```

How many may be chosen.

### `build`

```rust
pub fn build(self) -> Component
```

The component.

## Trait implementations

`Clone`, `Debug`, `Eq`, `PartialEq`, `StructuralPartialEq`

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