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

Renders paper component

examples

Examples

```
<.paper>
  content
</.paper>

attributes

Attributes

  • blur (:boolean) - Defaults to false.
  • element (:string) - Defaults to "div".
  • elevation (:integer) - Defaults to 2.
  • extend_class (:string)
  • square (:boolean) - Defaults to false.
  • variant (:string) - Defaults to "elevated".
  • Global attributes are accepted. Supports all globals plus: ["open"].

slots

Slots

  • inner_block (required)