Skip to content

Cursor JSTwigv0.1.0

Use the cursor component to easily add a custom cursor to your project.

Table of content

Usage

Once the package installed, simply include the template in your project:

js
import { Base, createApp } from '@studiometa/js-toolkit';
import { Cursor } from '@studiometa/ui';

class App extends Base {
  static config = {
    name: 'Base',
    components: {
      Cursor,
    }
  };
}

export default createApp(App);
twig
{% include '@ui/atoms/Cursor/Cursor.twig' only %}