Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.9 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.9 KB

@studiometa/ui

NPM Version NPM Next Version Downloads Size Dependency Status Codecov

📦 A set of opiniated, unstyled and accessible components based on @studiometa/js-toolkit

Installation

Install the latest version via NPM:

npm install @studiometa/ui

If you need the Twig template as well, install the Twig extension via Composer and load it in your application:

composer require studiometa/ui

Usage

Import the components from the package as needed:

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

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

export default createApp(App, document.body);

Heads up to ui.studiometa.dev for more informations.

Contributing

Please read the contribution docs.

Open in Gitpod