Skip to content

dpanda-hv/hv-uikit-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hitachi Vantara UI Kit - React

React components for the Hitachi Vantara Design System.

Quickly build apps that follow the HV Design System's patterns and specifications.

React 16.13 Node 16 License Apache 2 Supported browsers: Chrome, Firefox, Safari, Edge
Master Nightly build status

Installation

HV UI Kit is composed of multiple mostly independent npm packages. You can install them in any working React v16.x or x17.x project.

Package installation

Install the @hitachivantara/uikit-react-core package and its peer dependencies:

npm install @hitachivantara/uikit-react-core @mui/material @mui/styles

Other packages available

If you need to use any non-core community contributed package, install the @hitachivantara/uikit-react-lab package.

npm install @hitachivantara/uikit-react-lab

Also available:

  • code-editor - npm install @hitachivantara/uikit-react-code-editor
  • visualizations - npm install @hitachivantara/uikit-react-viz
  • compat - `npm install @hitachivantara/uikit-react-compat
  • icons - npm install @hitachivantara/uikit-react-icons
  • themes - npm install @hitachivantara/uikit-common-themes

The @hitachivantara/uikit-react-icons is installed as a dependency of @hitachivantara/uikit-react-core and the @hitachivantara/uikit-common-themes shouldn't be necessary out of a very specific use case.

Installing an older version

The above commands will install the latest version of UI Kit 4.x. It implements the DS 3.x specifications.

Older v3.x packages use a different registry and import names. If needed, please follow the documentation at https://lumada-design.github.io/uikit/v3-old-registry/?path=/docs/get-started-installation--page.

If your project's design follows DS 1.x you must use the UI Kit 2.x release. Check https://lumada-design.github.io/uikit/v2.x/?path=/docs/get-started-installation--page for instructions.

Usage

  1. Wrap your application with the HvProvider provided by @hitachivantara/uikit-react-core.
import { HvProvider } from "@hitachivantara/uikit-react-core";

// Do this at the root of your application
function App({ children }) {
  return <HvProvider>{children}</HvProvider>;
}

Optionally, you can configure the active theme and locale, among others. Check the Provider's API documentation for further details.

  1. Now you can start using components:
import { HvButton } from "@hitachivantara/uikit-react-core";

function Example() {
  return <HvButton>Hello from UI Kit!</HvButton>;
}

Documentation

Check out our documentation website.

Changelog

Recently Updated? Please read the packages changelog: core, lab, compat, code-editor, viz, icons, themes.

Contributing

Please check out our Contribution Guidelines for detailed information.

You need to ask to be added as a project member, to be able to contribute:

Bugs

If you find a bug in the source code, you can help us by submitting an issue to this repo. Even better you can submit a Pull Request with a fix.

Feature Requests

You can request a new feature by submitting an issue to this repo. Features can be new components or changes to existing.

License

This project is licensed under the terms of the Apache 2.0 license.

Details for the required packages and their licenses can be obtained in https://knowledge.hitachivantara.com/Documents/Open_Source_Software.

Team

The UI Kit is maintained by a small group of invaluable core contributors, with the support and involvement of the Hitachi Vantara community. 😄

Get involved with our development by opening an issue or submitting a pull request. Read the contributing guidelines for information on how we develop.

Join and support the project!

About

React components for the Hitachi Vantara Design System.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.8%
  • RobotFramework 7.3%
  • TypeScript 0.7%
  • Dockerfile 0.2%
  • CSS 0.0%
  • Shell 0.0%