# `Macaw.Builtin.Reset`
[🔗](https://github.com/dcoai/macaw/blob/v0.6.0/lib/macaw/builtin/reset.ex#L1)

The built-in reset control (spec/05 §6.9), `"macaw.reset"`: one button that takes the
page back to where it started, of kind `:control`, `:pure` (#453, macaw#446 need 5).

  * **parameters:** `label` (text, `"Start over"`), the button's words;
  * **declarations:** the event `"press"`, its placement's action the reset, `%{on:
    "press", reset: :view}` or `%{on: "press", reset: :all}` (spec/03 §1.3);
  * **markup:** live, a `<button type="button">` with the event's wire; with no socket
    and the host's links, a reset that moves only URL-held state is a link to the page
    it gives (`Macaw.Component.Client.link/3`), and one that also clears a visitor's
    changes to a source's rows, a write held on the server, is a `<form
    method="post">` to the page's address carrying the event as `mw`, which
    `Macaw.State.submit/4` applies (spec/13 §3.6); in `:neutral` and `:print`, its words
    alone;
  * **stylesheet:** `stylesheet/0`, served at `stylesheet_path/0`, its content address.

# `stylesheet`

```elixir
@spec stylesheet() :: String.t()
```

The reset control's one static stylesheet, every color a theme custom property with the
default theme's value as its fallback.

# `stylesheet_path`

```elixir
@spec stylesheet_path() :: String.t()
```

The stylesheet's path, its content address (`Macaw.Component.Stylesheet.path/1`).

---

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