https://github.com/htmlelements/smart-button
Smart Button Custom HTML Element
https://github.com/htmlelements/smart-button
button button-web-component buttons custom-button-element custom-elements customelements demo eslint html-button html-button-element htmlelements smart-button ui-button web-components webcomponents
Last synced: 3 months ago
JSON representation
Smart Button Custom HTML Element
- Host: GitHub
- URL: https://github.com/htmlelements/smart-button
- Owner: HTMLElements
- License: apache-2.0
- Created: 2018-04-11T15:06:33.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-10T06:50:20.000Z (over 5 years ago)
- Last Synced: 2025-02-01T12:44:11.917Z (4 months ago)
- Topics: button, button-web-component, buttons, custom-button-element, custom-elements, customelements, demo, eslint, html-button, html-button-element, htmlelements, smart-button, ui-button, web-components, webcomponents
- Homepage: https://www.htmlelements.com/
- Size: 191 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Smart Button Element](https://www.htmlelements.com) [](https://twitter.com/intent/tweet?text=Get%20over%2020%20free%20custom%20elements%20based%20on%20SmartHTMLElements%20&url=https://www.htmlelements.com/&via=htmlelements&hashtags=bootstrap,design,templates,blocks,developers,webcomponents,customelements,polymer,material)
[](https://smarthtmlelements.slack.com/)
[](https://github.com/HTMLElements/smart-button/blob/master/LICENSE)
[](https://www.npmjs.com/package/@smarthtmlelements/smart-button)
[](https://github.com/HTMLElements/smart-button)
[](https://github.com/HTMLElements/smart-button/blob/master/LICENSE)
[](https://www.htmlelements.com)
[](https://www.webcomponents.org/element/htmlelements/smart-button)# <smart-button>
[Live Demo ↗](https://htmlelements.com/demos/button/)
|
[Documentation ↗](https://www.htmlelements.com/docs/)
|
[Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smart-core)[<smart-button>](http://htmlelements.com/demos/button/) is a Custom HTML Element providing an alternative of the standard button, part of the [Smart HTML Elements](https://htmlelements.com/).
```html
Click Me
```[
](http://htmlelements.com/demos/button)
## Getting Started
Smart HTML Elements components documentation includes getting started, customization and api documentation topics.
[Getting Started Documentation](https://www.htmlelements.com/docs/button/)
|
[CSS Documentation](https://www.htmlelements.com/docs/button-css/)
|
[API Documentation](https://www.htmlelements.com/docs/button-api/)## The file structure for Smart HTML Elements
- `source-minified/`
Javascript files.
- `source-minified/styles/`
Component CSS Files.
- `demos/`
Demo files
## Running demos in browser
1. Fork the `Smart-HTML-Elements-Core` repository and clone it locally.
1. Make sure you have [npm](https://www.npmjs.com/) installed.
1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies.
1. Run a localhost or upload the demo on a web server. Then run:
- /demos/smart-button/smart-button-overview.htm
## Following the coding style
We are using [ESLint](http://eslint.org/) for linting JavaScript code.
## Creating a pull request
- Make sure your code is compliant with ESLint
- [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description
- Wait for response from one of our team members## License
Apache License 2.0