https://github.com/NEO97online/simple-buttons
Simple web component buttons made with Stencil.
https://github.com/NEO97online/simple-buttons
Last synced: 16 days ago
JSON representation
Simple web component buttons made with Stencil.
- Host: GitHub
- URL: https://github.com/NEO97online/simple-buttons
- Owner: NEO97online
- License: mit
- Created: 2018-09-30T05:57:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-06T00:12:29.000Z (over 6 years ago)
- Last Synced: 2024-10-28T20:05:40.302Z (6 months ago)
- Language: TypeScript
- Homepage: https://simple-buttons.surge.sh/
- Size: 306 KB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-stenciljs - Simple Buttons
README

# Simple Buttons
This is a simple web-component button built with Stencil.
[View demo](https://simple-buttons.surge.sh/)

## Installation
```
npm i simple-buttons
```After installing into your project, consult the [Stencil docs](https://stenciljs.com/docs/overview) for guides on how to use web components with your framework of choice.
## Usage
```html
Click me
```Type: basic, raised, outline, flat (default: basic)
Color: plain, primary, secondary, danger (default: plain)
To customize colors, define the following CSS variables in your application:
- --app-primary-color
- --app-secondary-color
- --app-danger-color
- --app-primary-text-color
- --app-secondary-text-color
- --app-danger-text-color