View Source Phoenix.UI.Components.Paper (Phoenix UI v0.1.5)

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)
  • rest (:global) - Supports all globals plus: ["open"].
  • square (:boolean) - Defaults to false.
  • variant (:string) - Defaults to "elevated".

slots

Slots

  • inner_block (required)