Floating Button

February 4, 2026 ยท View on GitHub

Component that displays floating button

Usage

import { FloatingButton } from ".";
<FloatingButton icon="upload" alert={false} />
<FloatingButton icon="trash" alert={true} percent={45} />

Properties

PropsTypeRequiredValuesDefaultDescription
alertbool--falseShows the alert
classNamestring---Accepts class
icononeOf-upload, file, trash, move, duplicateuploadSets the icon on the button
idstring---Accepts id
percentnumber--0Load fullness
styleobj, array---Accepts css style