Installation and initialization
Installation
SVAR Core library includes separate packages for Form controls, Menu, Toolbar, Comments, and Tasklist. You can use npm to install the required packeges:
- for Form controls (the core library) run the next command:
npm install @svar-ui/react-core
- for the Menu widget:
npm install @svar-ui/react-menu
- for the Toolbar widget:
npm install @svar-ui/react-toolbar
- for the Comments widget:
npm install @svar-ui/react-comments
- for the Tasklist widget:
npm install @svar-ui/react-tasklsit
Initialization
Use the corresponding component to initialize the required control in your React app:
import { Button } from "@svar-ui/react-core";
<Button>Click Me</Button>
Follow the related Controls sections for more information on initialization and configuration. Please, also refer to the Getting started page.