npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@licuido-ui/ui_fab-button

v0.0.2

Published

FabButton is a customizable Floating Action Button component for React applications. It allows you to create a floating button with optional speed dial actions that can be triggered by either click or hover events.

Downloads

3

Readme

FabButton

FabButton is a customizable Floating Action Button component for React applications. It allows you to create a floating button with optional speed dial actions that can be triggered by either click or hover events.

Author

Link

Story Book Link EmptyPage

PlayGround

Try it have a fun codeBox

Installation

npm i @licuido-ui/ui_fab-button

Import component

import { FabButton } from '@licuido-ui/ui_fab-button';

Usage

import { FabButton } from '@licuido-ui/ui_fab-button';

const actionsData = [
  { name: 'Action 1', icon: <IconComponent />, onClick: (position) => handleAction1(position) },
  { name: 'Action 2', icon: <IconComponent />, onClick: (position) => handleAction2(position) },
  // Add more actions as needed.
];

function MyComponent() {
  return (
    <FabButton
      direction='up'
      radius={100}
      semicircle={false}
      actionsData={actionsData}
      isOpen={false}
      variant='clickable'
      onToggle={() => console.log('Speed dial toggled')}
      onMainButtonClick={() => console.log('Main button clicked')}
      openIcon={<OpenIconComponent />}
      closeIcon={<CloseIconComponent />}
    />
  );
}

Image

alt text alt text

Props

| Name | Type | Default | Description | | ----------------- | ------------- | ----------- | ---------------------------------------------------------------------------------------- | | className | string | '' | Additional class name to apply to the FabButton component. | | sx | SxProps | {} | Custom styles using the Material-UI sx prop. | | direction | string | 'up' | The direction in which the speed dial actions will be displayed (left, right, up, down). | | radius | number | 100 | The radius (distance) from the main button to the speed dial actions. | | semicircle | boolean | false | If true, the speed dial actions will be displayed in a semicircle layout. | | actionsData | ActionData[] | [] | An array of action data objects, each representing a speed dial action. | | buttonStyle | CSSProperties | {} | Custom styles for the main button. | | actionButtonStyle | CSSProperties | {} | Custom styles for each speed dial action button. | | directionStyle | CSSProperties | {} | Custom styles for the FabButton's direction container. | | buttonConStyle | CSSProperties | {} | Custom styles for the container of the main button and speed dial actions. | | closeIcon | ReactNode | <></> | The custom React node to be used as the close icon for the speed dial. | | isOpen | boolean | false | The current open/close state of the speed dial. | | openIcon | ReactNode | | The custom React node to be used as the open icon for the speed dial. | | onToggle | () => void | () => {} | Callback function to handle the open/close state change of the speed dial. | | onMainButtonClick | () => void | () => {} | Callback function to handle the click on the main button. | | variant | string | 'clickable' | The behavior of the FabButton, can be 'hoverable' or 'clickable'. |