Skip to content

Latest commit

 

History

History
55 lines (49 loc) · 2.1 KB

README.md

File metadata and controls

55 lines (49 loc) · 2.1 KB
npm package npm downloads

⚠️ THIS PACKAGE IS STILL IN ALPHA ⚠️

The font for sounds.

An elegant React library for audio feedback
in user interfaces

npm i @clippet/react @clippet/free-sound-font
yarn add @clippet/react @clippet/free-sound-font

Usage

Basic usage

import { useClippet } from '@clippet/react';
import { clPlip } from '@clippet/free-sound-font';

export default function Button() {
  const [playClick] = useClippet(clPlip);

  return (
    <button onClick={() => {
      playClick();
    }}>
      Press me!
    </button>
  );
}

Acknowledgments

Clippet is developed and maintained by BMD Studio