Panel
A plain bordered surface for grouping arbitrary content.
| Prop | Type | Default | Notes |
|---|---|---|---|
**html_options |
Hash | — | Extra attrs on the root <div> (class, id, data-*, …). |
Default
Panel title
Drop any markup or component inside — the panel is just the surface.
1 | <%= render PanelComponent.new(class: "padding-16") do %> |
2 | <p>Anything goes inside.</p> |
3 | <% end %> |
Empty
1 | <%= render PanelComponent.new(class: "width-320 height-65") %> |