Design System
Plugin for displaying elements from a websites design system.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/vatu-team/design-system/archive/refs/heads/main.zipDesign System Plugin
Introduction
Installation
It is reccommended to install this as a development dependency via Composer. This will prevent the pages from being publicly accessible on your production site.
composer require vatu/design-system --dev
Documentation
Directory Structure
The aim of the directory structure for this plugin is to keep everything well-organized.
├── .github
├── assets
│ ├── css
│ ├── fonts
│ │── js
│ └── svg
├── build
├── src
│ ├── Application
│ ├── Domain
│ ├── Infrastructure
│ │── Plugin.php
│ └── PluginFactory.php
├── tests
├── tools
├── vendor
├── package.json
└── composer.json
/.github//assets/Compiled assets such as CSS, Fonts, JavaScript, and SVG./build/Compiled block assets./src//src/Application/Exposes the functionality of the domain to other application layers as hooks and filters (an API)./src/Domain/Modules of code based upon the business needs/src/Domain/ServiceA layer which aims to organize the services ito a set of logical layers. Services within a layer share a smilar set of activities./src/Domain/Service/Prover.php/src/Domain/Service/Service.php
/src/Infrastructure//src/Plugin.phpThis file is respobnsible for loading and instantiating one or moreServiceProviderobjects./src/PluginFactory.php
/tests/Project tests and configutation related to testing the projects./tools/Development tools not specific to the project./design-system.phpBootstrap file for WordPress to load./composer.jsonConfiguration for our PHP dependencies./package.jsonConfiguration for our Node/NPM dependencies.
Install
composer require vatu/design-system --dev
Development
npm run wp-env start– Start the development environmentnpm run wp-env start -- --xdebug– Start the development environment with xDebug configurednpm run wp-env stop– Stop the development environmentnpm run wp-env distroy– Distroy the development environmentnpm run wp-env run {env} wp shell-npm run composer -- {command}– Run composer commands within the development environment
Reporting Issues
If you spot any issues please create a ticket via the project's Issue Tracker. Including the issue, the browser and operating system, and how to replicate it. If the issue is security related please use the contact information below.
Coordinated Disclosure
Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read SECURITY for instructions on submitting a vulnerability report.
Contact
Vatu - hello@vatu.dev
Copyright
© 2025 Vatu Limited and licensed for use under the terms of the GPL-3.0 License. Please see LICENSE for more information.