logo

Lumina Design

ComponentsIcons
Installation
AccordionAppHeaderAutoCompleteAvatarBottomNavigationBreadcrumbButtonCarouselCheckboxChipColumnDataTableDatePickerDialogFloatingButtonFloatingMenuInputFieldLinkMenuDropdownNextToastProviderProgressRadioButtonRangeSliderResizablePanelSelectDropDownSideBarTabSelectTabsTagTextTextAreaThemeProviderToastProviderToggleInputToggleSwitchTooltip

FloatingButton

The FloatingButton component is a circular button that floats above the content and is typically used for primary or quick actions within an application. It remains visible as users scroll, making it ideal for actions that should be readily accessible, such as adding a new item, creating a new document, or launching a chat window. This component is especially popular in mobile and web apps where space is limited, and quick access to a key function is necessary.

Click Me
Button Size (Attribute: `size`)

Code

import FloatingButton from "@lumina-design/core/FloatingButton";
    
// Sizes: 'S', 'M'    
<FloatingButton
  icon={<LuminaIcon.Plus width={14} height={14} name="plus" />}
  onClick={() => console.log("button 1 clicked")}
  color="orange"
  size="S"
/>