HortiView Shared Components¶
HortiView offers a wide range of components for use in modules written for HortiView. They complement Bayer's Element Design System on which the components are based on.
Search before you write
The platform is under constant development. Before you start developing a new component, check if it already exists in the shared components library.
Install¶
# for npm users
npm i @hortiview/shared-components
# for yarn fans
yarn add @hortiview/shared-components
Prerequisites¶
This library is based on a public version of Bayer's Element component library.
Use yarn add @element-public/react-components @element-public/themes
or npm i @element-public/react-components @element-public/themes
to add the packages to your solution.
Remarks¶
For the best experience, use the template with React Router in your solution, as some components rely on properties like pathname
and hash
, or on components like Link
from React Router
.
Additionally the library provides form components using react-hook-form. When you want to use these components please install react-hook-form
before using them.
Available components¶
Please checkout the @hortiview/shared-components NPM page for a detailed and up-to-date overview of the components.
Changelog¶
To see the newest changes, checkout our Changelog