0.1.5 • Published 3 years ago

react-buttons-ui v0.1.5

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Getting Started with React Buttons UI

Installment

npm install react-buttons-ui

Import

import { IconBtn } from "react-buttons-ui"

Overview

  • Asides from IconBtn, all buttons include iconStart and iconEnd property to position your icon at the start or end of the button.

  • All buttons include disable property that accepts a boolean value.

Demo

Check out live demo and usage details here!

Buttons

NameDescriptionHighlights
FullScreenbutton that triggers full screen of an elementCan reference target element by passing callback to target property
Uploada customized button to upload filesonChange property takes a callback the receives the file object directly, ie, event.target.files[0] from html <input type="file />"
Selectfully customizable select buttonhideOnSelect property when set to true hides option menu when an option is selected, and vice versa when set to false
Nexta simple next button
IconBtna button based on an icon of your choicecircle property to convert button to circle shape
Confirmconfirm button for confirmation usedisableOnConfirm property allows developers to toggle the disable state depending on the fulfillment of a confirmation

Future Features

  • Combining next button with a previous button as a set to enhance usage.

  • Create a cancel button to pair with confirm button for more complete functionality

  • Increase default styling options (color, size, shape, etc)