# `Plushie.Type.String`
[🔗](https://github.com/plushie-ui/plushie-elixir/blob/v0.7.2/lib/plushie/type/string.ex#L1)

String type. Accepts binaries and atoms (atoms are coerced to
strings via `Atom.to_string/1`).

Supports `:min_length`, `:max_length`, and `:pattern` field
constraints. Length constraints use `byte_size/1` guards;
`:pattern` is validated at runtime only.

    field :name, :string, min_length: 1, max_length: 100

# `t`

```elixir
@type t() :: String.t() | atom()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
