@studiometa/ui
v1.7.0
Published
A set of opiniated, unstyled and accessible components
Maintainers
Readme
@studiometa/ui
A set of JS and Twig components powered by @studiometa/js-toolkit, Tailwind CSS and studiometa/twig-toolkit.
Installation
Install the latest version via NPM:
npm install @studiometa/uiIf you need the Twig templates as well, install the Twig extension via Composer and load it in your application:
composer require studiometa/uiUsage
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.
Contributing
Please read the contribution docs.
