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

The built-in tabs (spec/05 §5.6), `"macaw.tabs"`: a container of one or more panes,
one shown at a time, of kind `:container`, `:pure`: the WAI-ARIA tabs pattern.

  * **parameters:** `label` (text, `"Views"`), the tab list's name; `open` (text, `""`,
    bindable), the pane shown, the first for `""` or a name of no pane;
  * **declarations:** no slots; the event `"open"` with its default action setting
    `open` from the event's value, so opening a tab is a view change with no wiring
    (spec/05 §5.3); it observes `:activate`;
  * **panes:** one or more; it shows the one `open` names, else the first;
  * **markup:** a named tab list of `role="tab"` buttons, each controlling its
    `role="tabpanel"`, the shown one `aria-selected` and the list's one tab stop
    (roving focus: the others `tabindex="-1"`); given a link for a tab (socketless,
    with the host's links), it is an `<a href>` to the view with it open; the shown
    panel holds its pane's markup, the others are empty and `hidden`; in `:print` and
    `:neutral` every panel shows;
  * **stylesheet:** `stylesheet/0`, served at `stylesheet_path/0`, its content address.

# `stylesheet`

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

The tabs' one static stylesheet: the list, its tabs, the selected tab's mark and the
panels, every color a theme custom property with the default theme's value as its
fallback. It loads and imports nothing.

# `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*
