Skip to content

materialr/fab

Repository files navigation

MaterialR Fab

@materialr/fab

Build Status Coverage Status NSP Status semantic-release

Material FAB implementation for React

Installation

$ npm install --save @materialr/fab

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Default export

import Fab from '@materialr/fab';
Prop Type Required Default Description
className string No undefined Additional classNames to add
exited bool No false Whether the fab has the exiting style
icon string Yes N/A The material icon to render
mini bool No false Whether the fab has the mini style
onClick func No undefined The click handler method
ripple bool No false Whether a ripple should be added to the fab