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

0.4.3 • Public • Published

FPKIT Button

A lightweight React UI primitive for creating button elements/components that leverage CSS custom properties for reactive Styles.

FPKIT UI Components

FPKIT is a lightweight, modular and extensible UI component library that focuses on building modern, accessible, performance-first web applications.

FirstPaint (Addon CSS library)

Built-in support for FirstPaint a modern, performance-first, easy-to-use, accessible CSS/SCSS micro framework that focuses on CSS custom properties and Semantic HTML over class-heavy styling more info](https://firstpaint.dev)

Install

npm i @fpkit/fp-button

Usage

 import {Button } from '@fpkit/fp-button';

 <Button onClick={ alert('clicked button')}>Click here</Button>

Licensed under the MIT license

The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i @fpkit/fp-button

Weekly Downloads

0

Version

0.4.3

License

MIT

Unpacked Size

196 kB

Total Files

28

Last publish

Collaborators

  • shawnsandy