View Source Phoenix.UI.Components.Container (Phoenix UI v0.1.9)
Provides container component.
Link to this section Summary
Functions
Renders container component.
Link to this section Functions
@spec container(Phoenix.LiveView.Socket.assigns()) :: Phoenix.LiveView.Rendered.t()
Renders container component.
examples
Examples
```
<.container>
Content
</.container>
```
attributes
Attributes
element(:string) - Defaults to"div".extend_class(:string)max_width(:string) - Defaults to"screen-lg".variant(:string) - Defaults to"fluid".- Global attributes are accepted.
slots
Slots
inner_block(required)