Skip to content
/ ui Public

📦 A set of opiniated, unstyled and accessible components

License

Notifications You must be signed in to change notification settings

studiometa/ui

Repository files navigation

@studiometa/ui

NPM Version 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