Skip to main content
Version: v6

ion-fab-list

shadow

Contents

The ion-fab-list element is a container for multiple fab buttons. This collection of fab buttons contains actions related to the main fab button and is flung out on click. To specify what side the buttons should appear on, set the side property to 'start', 'end', 'top', 'bottom'

Usage

<ion-fab vertical="center" horizontal="center">
<ion-fab-button>Share</ion-fab-button>
<ion-fab-list side="top">
<ion-fab-button>
<ion-icon name="logo-facebook"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-twitter"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-youtube"></ion-icon>
</ion-fab-button>
</ion-fab-list>

<ion-fab-list side="end">
<ion-fab-button>
<ion-icon name="logo-pwa"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-npm"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-ionic"></ion-icon>
</ion-fab-button>
</ion-fab-list>

<ion-fab-list side="bottom">
<ion-fab-button>
<ion-icon name="logo-github"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-javascript"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-angular"></ion-icon>
</ion-fab-button>
</ion-fab-list>

<ion-fab-list side="start">
<ion-fab-button>
<ion-icon name="logo-vimeo"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-chrome"></ion-icon>
</ion-fab-button>
<ion-fab-button>
<ion-icon name="logo-react"></ion-icon>
</ion-fab-button>
</ion-fab-list>
</ion-fab>

Properties

activated

DescriptionIf true, the fab list will show all fab buttons in the list.
Attributeactivated
Typeboolean
Defaultfalse

side

DescriptionThe side the fab list will show on relative to the main fab button.
Attributeside
Type"bottom" ๏ฝœ "end" ๏ฝœ "start" ๏ฝœ "top"
Default'bottom'