A Material Design Floating Action Button (pp_fab/1) — a circular,
elevated, icon-only button, or (with extended) a pill with a label.
Typically anchored to a screen corner by the caller (e.g. class="fixed bottom-6 right-6").
Summary
Functions
Renders a floating action button. See the module doc.
Functions
Renders a floating action button. See the module doc.
Attributes
color(:string) - Defaults to"secondary". Must be one of"primary","secondary","tertiary", or"error".size(:string) - Defaults to"md". Must be one of"sm","md", or"lg".extended(:boolean) - Defaults tofalse.ripple(:boolean) - the Material ripple effect on click/tap — off whenever paperize is false, see PhoenixPaper.Ripple. Defaults totrue.disabled(:boolean) - Defaults tofalse.type(:string) - Defaults to"button". Must be one of"button","submit", or"reset".paperize(:boolean) - Defaults totrue.class(:any) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["form", "name", "value", "phx-click"].
Slots
inner_block(required)