Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 697 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 697 Bytes

Applause Button

A zero-configuration button for adding applause / claps / kudos to web pages and blog-posts.

Minimal example

The applause button is a custom element that can be added directly to the page. Here is a minimal example:

<head>
  <!-- add the button style & script -->
  <link rel="stylesheet" href="dist/applause-button.css" />
  <script src="dist/applause-button.js"></script>
</head>
<body>
  <!-- add the button! -->
  <applause-button style="width: 58px; height: 58px;"/>
</body>

The above will render an applause button, persisting claps and clap counts.

For more information, visit the project website;