Actions
FAB
The floating action button: a 56px ink button at the bottom right of a phone screen that starts the action people take most, "Add".
In kanso-ui as Fab
Live in kanso-ui
Fab from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
Kanso’s 56px FAB, extended and icon only
The FAB menu: it opens into the things to add
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
- On phones, for the one creation action people reach for most: "Add" opens the form (Payment, Task, Event, Session). One per screen.
- On the web there is no FAB. The same action sits in the app bar as an ink button:
k-btn k-btn--ink k-btn--mdwith theaddicon and "Add".
Use Button for secondary actions and for actions on one item, NavigationBar to move between screens, and no FAB at all inside a sheet or a dialog.