A set of JS and Twig components powered by @studiometa/js-toolkit, Tailwind CSS and studiometa/twig-toolkit.
Install the latest version via NPM:
npm install @studiometa/ui
If you need the Twig templates as well, install the Twig extension via Composer and load it in your application:
composer require studiometa/ui
Import the components from the package as needed:
import { Base, createApp } from '@studiometa/js-toolkit';
import { Action, Frame, Modal, ScrollAnimation, ScrollReveal, Slider } from '@studiometa/ui';
class App extends Base {
static config = {
name: 'App',
components: {
Action,
Frame,
Modal,
ScrollAnimation,
ScrollReveal,
Slider,
},
};
}
export default createApp(App);
Heads up to ui.studiometa.dev for more informations.
Please read the contribution docs.