View Source Phoenix.UI.Components.Paper (Phoenix UI v0.1.9)
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)square(:boolean) - Defaults tofalse.variant(:string) - Defaults to"elevated".- Global attributes are accepted. Supports all globals plus:
["open"].
slots
Slots
inner_block(required)