# `Athanor.Components.EditorFormShell`
[🔗](https://github.com/Arsenalist/athanor/blob/v0.1.0-beta.7/lib/athanor/components/editor_form_shell.ex#L1)

Tabs wrapper used by every Athanor primitive's editor form LC. Renders
a two-tab UI: "Component" (the component-specific form, supplied via the
`:component` slot) and "Formatting" (the shared formatting controls).

Usage from a LiveComponent's render/1:

    ~H"""
    <Athanor.Components.EditorFormShell.shell
      active_tab={@active_tab}
      myself={@myself}
      formatting_form={@formatting_form}>
      <:component>
        <!-- component-specific form here -->
      </:component>
    </Athanor.Components.EditorFormShell.shell>
    """

# `shell`

## Attributes

* `active_tab` (`:string`) - Defaults to `"component"`.
* `myself` (`:any`) (required)
* `formatting_form` (`:any`) (required)
* `open_sections` (`:any`) (required)
* `show_formatting` (`:boolean`) - When false, omits the Formatting tab + tab strip entirely. Used for forms that don't represent a renderable node (e.g. page-level settings). Defaults to `true`.
## Slots

* `component` (required)

---

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