The Wazuh WUI Framework is a collection of React UI components for quickly building user interfaces at Wazuh. Not using React? No problem! You can still use the CSS behind each component.
To install the Wazuh WUI Framework into an existing project, use the yarn
CLI (npm
is not supported).
yarn add @wazuh/wui
Note that WUI has several peerDependencies
requirements that will also need to be installed if starting with a blank project.
yarn add @wazuh/wui @elastic/datemath moment prop-types
We depend upon the version of node defined in .nvmrc.
You will probably want to install a node version manager. nvm is recommended.
To install and use the correct node version with nvm
:
nvm install
You can run the documentation locally at http://localhost:8030/ by running the following.
yarn
yarn start
If another process is already listening on port 8030, the next free port will be used. Alternatively, you can specify a port:
yarn start --port 9000
The Wazuh WUI Framework is licensed under the Apache License 2.0.
This library was forked from the @elastic/eui and our changes were made from the v29.3.2 tag. The original license is Apache License 2.0. Thanks so much to the original authors for their work.