{"id":15046856,"url":"https://github.com/htmlelements/smart-button","last_synced_at":"2025-07-02T20:36:08.917Z","repository":{"id":57161036,"uuid":"129112054","full_name":"HTMLElements/smart-button","owner":"HTMLElements","description":"Smart Button Custom HTML Element","archived":false,"fork":false,"pushed_at":"2020-01-10T06:50:20.000Z","size":196,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T12:44:11.917Z","etag":null,"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"],"latest_commit_sha":null,"homepage":"https://www.htmlelements.com/","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HTMLElements.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-11T15:06:33.000Z","updated_at":"2022-04-01T15:08:10.000Z","dependencies_parsed_at":"2022-08-29T08:50:38.201Z","dependency_job_id":null,"html_url":"https://github.com/HTMLElements/smart-button","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HTMLElements%2Fsmart-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HTMLElements","download_url":"https://codeload.github.com/HTMLElements/smart-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238614368,"owners_count":19501444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["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"],"created_at":"2024-09-24T20:53:40.113Z","updated_at":"2025-02-13T07:30:51.969Z","avatar_url":"https://github.com/HTMLElements.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Smart Button Element](https://www.htmlelements.com) [![Tweet](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=Get%20over%2020%20free%20custom%20elements%20based%20on%20SmartHTMLElements%20\u0026url=https://www.htmlelements.com/\u0026via=htmlelements\u0026hashtags=bootstrap,design,templates,blocks,developers,webcomponents,customelements,polymer,material)\n\n\u0026nbsp;[![Slack](https://smarthtmlelements-slack.herokuapp.com/badge.svg)](https://smarthtmlelements.slack.com/)\n[![Price](https://img.shields.io/badge/price-FREE-0098f7.svg)](https://github.com/HTMLElements/smart-button/blob/master/LICENSE)\n[![npm](https://img.shields.io/npm/v/froala-design-blocks.svg?colorB=brightgreen)](https://www.npmjs.com/package/@smarthtmlelements/smart-button)\n[![GitHub package version](https://img.shields.io/github/package-json/v/HTMLElements/smart-button.svg)](https://github.com/HTMLElements/smart-button)\n[![License: APACHE](https://img.shields.io/badge/license-APACHE-blue.svg)](https://github.com/HTMLElements/smart-button/blob/master/LICENSE)\n[![](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=www.htmlelements.com)](https://www.htmlelements.com)\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/htmlelements/smart-button)\n\n# \u0026lt;smart-button\u0026gt;\n\n[Live Demo ↗](https://htmlelements.com/demos/button/)\n|\n[Documentation ↗](https://www.htmlelements.com/docs/)\n|\n[Installation ↗](https://www.npmjs.com/package/@smarthtmlelements/smart-core)\n\n[\u0026lt;smart-button\u0026gt;](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/).\n\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n  \u003ctemplate\u003e\n    \u003cscript src=\"../webcomponentsjs/webcomponents-lite.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.element.js\"\u003e\u003c/script\u003e\n    \u003cscript src=\"../smart-core/source/smart.button.js\"\u003e\u003c/script\u003e\n    \u003clink rel=\"stylesheet\" href=\"../smart-core/source/styles/smart.base.css\" type=\"text/css\" /\u003e\n    \u003clink rel=\"stylesheet\" href=\"../smart-core/source/styles/smart.material.css\" type=\"text/css\" /\u003e\n     \u003cnext-code-block\u003e\u003c/next-code-block\u003e\n  \u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n```html\n\u003csmart-button class=\"material\"\u003eClick Me\u003c/smart-button\u003e\n```\n\n[\u003cimg src=\"https://raw.githubusercontent.com/htmlelements/smart-button/master/smart-button.gif\" alt=\"Screenshot of smart-button, using the Material theme\"\u003e](http://htmlelements.com/demos/button)\n\n## Getting Started\n\nSmart HTML Elements components documentation includes getting started, customization and api documentation topics.\n\n[Getting Started Documentation](https://www.htmlelements.com/docs/button/)\n|\n[CSS Documentation](https://www.htmlelements.com/docs/button-css/)\n|\n[API Documentation](https://www.htmlelements.com/docs/button-api/)\n\n\n## The file structure for Smart HTML Elements\n\n- `source-minified/`\n\n  Javascript files.\n\n- `source-minified/styles/`\n\n  Component CSS Files.\n\n- `demos/`\n\n  Demo files\n\n## Running demos in browser\n\n1. Fork the `Smart-HTML-Elements-Core` repository and clone it locally.\n\n1. Make sure you have [npm](https://www.npmjs.com/) installed.\n\n1. When in the `Smart-HTML-Elements-Core` directory, run `npm install` and then `bower install` to install dependencies.\n\n1. Run a localhost or upload the demo on a web server. Then run:\n\n  - /demos/smart-button/smart-button-overview.htm\n\n\n## Following the coding style\n\nWe are using [ESLint](http://eslint.org/) for linting JavaScript code. \n\n## Creating a pull request\n\n  - Make sure your code is compliant with ESLint\n  - [Submit a pull request](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github) with detailed title and description\n  - Wait for response from one of our team members\n\n\n## License\n\nApache License 2.0\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhtmlelements%2Fsmart-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhtmlelements%2Fsmart-button/lists"}