View Source Phoenix.UI.Components.Paper (Phoenix UI v0.1.6)
Provides paper component.
Link to this section Summary
Functions
Renders paper component
Link to this section Functions
@spec paper(Phoenix.LiveView.Socket.assigns()) :: Phoenix.LiveView.Rendered.t()
Renders paper component
examples
Examples
```
<.paper>
content
</.paper>
attributes
Attributes
blur
(:boolean
) - Defaults tofalse
.element
(:string
) - Defaults to"div"
.elevation
(:integer
) - Defaults to2
.extend_class
(:string
)rest
(:global
) - Supports all globals plus:["open"]
.square
(:boolean
) - Defaults tofalse
.variant
(:string
) - Defaults to"elevated"
.
slots
Slots
inner_block
(required)