View Source Phoenix.UI.Components.Container (Phoenix UI v0.1.8)

Provides container component.

Link to this section Summary

Functions

Renders container component.

Link to this section Functions

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)