### fab FAB (Floating Action Button) stays in the bottom corner of screen. It includes a focusable and accessible element with button role. Clicking or focusing it shows additional buttons (known as Speed Dial buttons) in a vertical arrangement or a flower shape (quarter circle) [fab docs](https://daisyui.com/components/fab/) #### Class names - component: `fab` - part: `fab-close`, `fab-main-action` - modifier: `fab-flower` #### Syntax A single FAB in the corner of screen ```html
``` A FAB that opens a 3 other buttons in the corner of page vertically ```html
{IconOriginal}
``` A FAB that opens a 3 other buttons in the corner of page vertically and they have label text ```html
{IconOriginal}
{Label1}
{Label2}
{Label3}
``` FAB with rectangle buttons. These are not circular buttons so they can have more content. ```html
{IconOriginal}
``` FAB with close button. When FAB is open, the original button is replaced with a close button ```html
{IconOriginal}
Close ×
{Label1}
{Label2}
{Label3}
``` FAB with Main Action button. When FAB is open, the original button is replaced with a main action button ```html
{IconOriginal}
{LabelMainAction}
{Label1}
{Label2}
{Label3}
``` FAB Flower. It opens the buttons in a flower shape (quarter circle) arrangement instead of vertical ```html
{IconOriginal}
``` FAB Flower with tooltips. There's no space for a text label in a quarter circle, so tooltips are used to indicate the button's function ```html
{IconOriginal}
``` #### Rules - {Icon\*} should be replaced with the appropriate icon for each button. SVG icons are recommended - {IconOriginal} is the icon that we see before opening the FAB - {IconMainAction} is the icon we see after opening the FAB - {Icon1}, {Icon2}, {Icon3} are the icons for the additional buttons - {Label\*} is the label text for each button