studiometa / ui

📦 A set of opiniated, unstyled and accessible components
https://ui.studiometa.dev/-/
MIT License
9 stars 1 forks source link
components design-system twig ui-kit

@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