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/uiIf you need the Twig templates as well, install the Twig extension via Composer and load it in your application:
composer require studiometa/uiImport the components from the package as needed:
import { registerComponents } from '@studiometa/js-toolkit';
import { Action, Carousel, Dialog, Fetch, ScrollReveal } from '@studiometa/ui';
registerComponents(Action, Carousel, Dialog, Fetch, ScrollReveal);Heads up to ui.studiometa.dev for more informations.
The package ships the studiometa-ui agent skill. The skill teaches coding agents how to use the package, and it matches the installed version. Link the skills of your dependencies into your project with the skills CLI:
npx skills experimental_syncThe command links each skill from node_modules into the agent folders (.agents/skills/, .claude/skills/…). When you update the package, the linked skill updates too. The command also links the studiometa-js-toolkit skill when your version of @studiometa/js-toolkit ships it.
Please read the contribution docs.