The base Material surface (pp_paper/1) — a background, an elevation
shadow, and rounded corners. No padding, no title/actions slots; it's the
primitive PhoenixPaper.Card is built on top of, for anything that just
needs a raised surface to sit on.
<.pp_paper elevation={2} class="p-4">
Anything can go here.
</.pp_paper>
Summary
Functions
Renders a surface. See the module doc.
Functions
Renders a surface. See the module doc.
Attributes
elevation(:integer) - Defaults to1.shape(:atom) - corner radius token, see PhoenixPaper.Shape. Defaults to:lg. Must be one of:none,:xs,:sm,:md,:lg,:xl, or:full.paperize(:boolean) - Defaults totrue.class(:any) - Defaults tonil.component(:string) - overrides the data-pp-component marker — used by components (e.g. Card) built on top of Paper. Defaults to"paper".- Global attributes are accepted.
Slots
inner_block(required)