Dojo NG is being built in the open, one section at a time — follow along on Heptapod.

API REFERENCE · FORM CONTROLS

<dj-floating-action-button>

A circular (or extended/pill) action button, optionally fixed to a screen position. Subclasses <dj-button>; default-slot label, icon slot.

Try it in the playground

@dojo-ng/floating-action-button · v0.1.2

npm install @dojo-ng/floating-action-button

import "@dojo-ng/floating-action-button";

Properties

PropertyAttributeTypeDefault
size size reflected "small""normal""extended" "normal"
position position reflected "bottom-right""bottom-center""bottom-left""left-center""right-center""top-left""top-center""top-right" None

CSS custom properties

PropertyDefaultDescription
--dj-fab-z-index800Stacking order of the floating action button.