User interface kit

A Vue component library with dark mode, advanced data components and a PostCSS base, published as a private npm package.

Client
Vectioneer since 2010
Our part
Component library, styling base and private registry
Stack
Vue.js, TypeScript, Three.js
A collection of components from the user interface kit, such as buttons, fields and menus.

The challenge

Motorcortex has several web applications, such as Desk, GRID and the EtherCAT configurator. Each one needs the same look and advanced data components.

Our solution

We built one Vue library with dark mode, a hex editor and a real-time GL plot. Each new application installs it from our own registry.

Reusable components

The Vue UI kit has a wide range of components. Install it as a plugin, or import only the components you need. Motorcortex uses it to make clean web applications fast.

We have built the kit for Motorcortex since 2020. Desk, the EtherCAT configurator and parts of GRID use it. They share most components, such as the buttons, forms and inputs, so every application looks and works in the same way. When we fix a component, every application gets the fix with its next update.

It also comes in black

Every component has an optimised dark mode, for a comfortable view on sensitive eyes. Switch between light and dark with no extra work.

Install and go

The UI kit is an npm package. We host it on our own Verdaccio registry.

We add each developer to the registry, so they can install the kit securely. We tag and publish each new version, and the applications get it through npm. We maintain the kit, so we plan each breaking change with the applications that use it.

# yarn
yarn add @vectioneer/ui --registry=https://npm.vagebond.nl

# npm
npm install @vectioneer/ui --registry=https://npm.vagebond.nl

Solve complex problems

The kit has advanced components: a hex editor, a real-time GL plot, a data tree and a layout helper for flexible designs.

The GL plot is a real-time plotting engine. It draws live data from Motorcortex, the real-time system that controls the robots. It shows the data of the axes, the tools and the power, with as many lines as you need. Desk uses it.

The hex editor edits octet arrays, floats, integers and unsigned integers. The EtherCAT configurator uses it. Every application uses the data tree.

Reusable styling

A PostCSS setup gives each project a solid base that is easy to extend. Projects keep their own look and an efficient workflow.

Stack

  • Vue.js
  • TypeScript
  • Three.js
  • PostCSS
  • Verdaccio
  • Vite
  • Vitest