@blaze-react/button
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

Description

Custom button styles for actions in forms, dialogs, and more with support for multiple sizes, states, and more.

Usage

  • Simple
<Button>Button</Button>
  • With modifiers
<Button modifiers={["outline", "dark"]}>Rounded/Outline</Button>
  • Type submit
<Button type="submit">Send</Button>

API

Buttons can receive a number of props as follow:
NAME TYPE DEFAULT OPTIONS
modifiers Array empty rounded, outline, alert, cta, light, dark, disabled, icon, small, full-width, plain, back, link
type String button button, submit, reset
disabled Boolean false
children single/array of nodes null

/@blaze-react/button/

    Package Sidebar

    Install

    npm i @blaze-react/button

    Weekly Downloads

    722

    Version

    0.7.0

    License

    ISC

    Unpacked Size

    5.32 kB

    Total Files

    4

    Last publish

    Collaborators

    • mcabrerapf
    • tanane
    • daoyong
    • marekb9
    • grzegorzi
    • ishrat
    • andypail