# `Minga.Extension.Panel`
[🔗](https://github.com/jsmestad/minga/blob/main/sdk/lib/minga/extension/panel.ex#L1)

Registry for extension-owned panels in the editor.

Extensions register panels with structured content blocks. Position is
`:bottom`, `:right`, or `:float`; content is a list of blocks the
frontend renders with native widgets.

This is a compile-time stub. At runtime, the real module in Minga's
BEAM VM provides the implementation.

# `content_block`

```elixir
@type content_block() ::
  {:text, String.t()}
  | {:styled_text, [{String.t(), non_neg_integer(), keyword()}]}
  | {:table, map()}
  | {:key_value, [{String.t(), String.t()}]}
  | {:separator}
  | {:progress, map()}
  | {:tree, map()}
```

# `position`

```elixir
@type position() :: :bottom | :right | :float
```

# `size`

```elixir
@type size() :: {:percent, 1..100} | {:lines, pos_integer()}
```

# `hide`

```elixir
@spec hide(atom(), term()) :: :ok
```

# `remove`

```elixir
@spec remove(atom(), term()) :: :ok
```

# `remove_all`

```elixir
@spec remove_all(atom()) :: :ok
```

# `set`

```elixir
@spec set(atom(), term(), map()) :: :ok
```

# `show`

```elixir
@spec show(atom(), term()) :: :ok
```

---

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