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