0.1.4 • Published 1 month ago

buttonbuzz v0.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 month ago

ButtonBuzz a Pre-Styled, Customizable ReactJS Button Library

Introduction

Welcome to ButtonBuzz Library! This library provides a collection of simple and customizable button components built with ReactJS and styled with Tailwind CSS. With this library, you can easily integrate stylish buttons into your React applications, saving you time and effort in development.

Installation

You can install buttonbuzz via npm:

npm install buttonbuzz

Usage

To use the button components provided by this library:

  1. Import the component into your code ('label' is required for all components):
import "buttonbuzz/dist/index.css";
import { ButtonBanner } from "buttonbuzz";

const MyComponent = () => {
  return (
    <div>
      <ButtonBanner
          label= "Subscribe"
        />
    </div>
  );
};

export default MyComponent;

Available Components

Screenshot 2024-03-29 210552

Customization

PropertyDescriptionComponents
labelSizeFont size of the button's labelAll except ButtonCircle
labelButton label (required)All except ButtonCircle
onClickonClick functionAll
labelColorFont color of the labelAll except ButtonCircle
labelWeightFont label weightAll except ButtonCircle
onHoverBackground color change on button mouse hoverAll except ButtonTextOnly ButtonTextUnderline ButtonPinkPanther
superClassesAdditional TailwindCSS classes to add to the button componentAll
borderColorButton border colorButton: Block, Boring, BoringInner, BoxMania, BoxManiaDash BrokenBlock, Circle, CircleMania, HalfHalf, HalfRounded, Holo, SeeThrough, Square
backgroundColorButton background colorAll except ButtonCircle
onHoverLabelLabel color change when user hovers over the buttonAll
iconString source for the icon in the buttonButton: Banner, BlockIcon, BoringShadow, Circle, Delete, HalfHalf, HalfRounded, PinkPanther, TextOnly, TextUnderline
iconWidthIcon widthButton: Banner, BlockIcon, BoringShadow, Circle, Delete, HalfHalf, HalfRounded, PinkPanther, TextOnly, TextUnderline
iconHeightIcon heightButton: Banner, BlockIcon, BoringShadow, Circle, Delete, HalfHalf, HalfRounded, PinkPanther, TextOnly, TextUnderline
circleRadiusRadius of circle for circular buttonsOnly ButtonCircle
leftShapeColorColor of the left shape of the Geometry ButtonOnly ButtonGeometry
rightTopShapeColorColor of the top right shape of the Geometry ButtonOnly ButtonGeometry
rightBottomShapeColorColor of the bottom right shape of the Geometry ButtonOnly ButtonGeometry
iconBackgroundBackground color for iconOnly ButtonHalfHalf and ButtonHalfRounded
onHoverIconBackgroundHover color for icon backgroundOnly ButtonHalfHalf and ButtonHalfRounded
onHoverLabelBackgroundHover for label backgroundOnly ButtonHalfHalf and ButtonHalfRounded
opacityOpacity of buttonOnly ButtonPinkPanther, ButtonTextOnly, ButtonTextUnderline
onHoverOpacityOn-hover button opacityOnly ButtonPinkPanther, ButtonTextOnly, ButtonTextUnderline

Contribution

Contributions to ButtonBuzz are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository.

License

This library is licensed under the ISC License.

Credits

ButtonBuzz is developed and maintained by n2n0n00

GitHub repository

0.1.4

1 month ago

0.1.0

1 month ago

0.0.0

1 month ago

0.1.2

1 month ago

0.1.1

1 month ago

0.0.9

1 month ago

0.0.8

1 month ago

0.1.3

1 month ago

0.0.7

1 month ago

0.0.6

1 month ago

0.0.5

1 month ago

0.0.4

1 month ago

0.0.3

1 month ago

0.0.2

1 month ago

0.0.1

1 month ago