@minimorphism/mds-ui
v1.0.3
Published
**MDS-UI** is a package of basic components for implementing ***minimorphism*** style interfaces. Created specifically for fintech products in the ***minimorphism ecosystem***, where premium tactility, physicality of objects, and a strict monochrome aesth
Readme
MDS-UI
Description
MDS-UI is a package of basic components for implementing minimorphism style interfaces. Created specifically for fintech products in the minimorphism ecosystem, where premium tactility, physicality of objects, and a strict monochrome aesthetic are essential.
Manifest
Before you start working with components, be sure to familiarize yourself with our philosophy:
Architecture
The main technical difference between MDS and classic UI libraries is the separation of physical form and its optical properties.
To achieve volume without sacrificing performance, a two-layer architecture is used:
┌────────────────────────────────────────────────────────┐
DOM Layer (React / Web Components)
↳ Buttons, inputs, cards (content and logic)
└───────────────────────────┬────────────────────────────┘
│ Registration of coordinates and geometry
▼
┌────────────────────────────────────────────────────────┐
WebGLCanvas Layer (Bottom canvas layer)
↳ Drawing Inner Shadows, Inner Glow, Drop Shadows
└────────────────────────────────────────────────────────┘
How it works:
- Top Layer (DOM): Regular HTML elements. These are responsible for clicks, focuses, and text.
- Synchronization: When widgets are mounted or resized, their coordinates are passed to the global bottom layer.
- Bottom Layer (WebGLCanvas): A single, high-performance Canvas that renders accurate, physically based shadows and glows for all UI elements simultaneously using shaders.
Use MDS-UI
Before implementing components in your projects, you must complete several steps. Detailed documentation for each component is available in StoryBook.
Install
- Install npm package
npm i @minimorphism/mds-uiInit Singleton WebGL Canvas layer
import React, { useEffect } from "react";
import { initWebGL, WebGLCanvas } from "@minimorphism/mds-ui";
import "@minimorphism/mds-ui/dist/index.css";
initWebGL();
export default function App() {
return (
<React.Fragment>
<WebGLCanvas />
</React.Fragment>
);
}Development
We use Storybook for isolated development and testing of components in various scenarios.
Preparation
- Clone the repository and install dependencies:
cd mds-ui npm install
Run and Build Storybook
Run Storybook in local development mode:
npm run storyAfter this, the interface will open at
http://localhost:6006.Build a static version of Storybook for production:
npm run build:story*The static files will be compiled into the
storybook-static/directory, ready for deployment.
Assembly and packaging MDS-UI
- Build
npm run build- Packaging
npm packTests
Command for run Unit-Tests
npm run testLICENSE
Distributed under the GPLv3 license. The full license text is available in the LICENSE file in the repository root.
© 2026 minimorphism. All rights reserved.
