Import, don't copy
npm install, wrap your app once, then import and use. Every component works with zero configuration and sensible defaults.
Now on npm · Developer preview v0.2.0 · MIT
The components behind Vigour Platforms ERP, packaged for your own apps. Install from npm, wrap your app once and build forms, tables, filters and workflows that look and behave the same everywhere.
import { Select, DatePicker } from "@vigour-platforms/ui";
<Select
label="Category"
options={categories}
isSearchable
/>
<DatePicker label="Claim date" isClearable />On npm now
Version 0.2.0 is published under the next tag, free and open source under the MIT licence. It works with Next.js (App Router and Pages), Vite and any React 18.3+ or 19 app.
npm install @vigour-platforms/ui@nextIn this release: Button, Input, Select, Checkbox & radio, Switch, Textarea, Date pickers, Phone input, Toasts, Skeletons & loaders. All Vigour packages on npm.
Why Vigour Components
npm install, wrap your app once, then import and use. Every component works with zero configuration and sensible defaults.
Props, theme tokens, slot class names, render props, headless hooks – and for Core, eject the full source into your project.
Searchable selects, filter engines, data tables with saved views, dynamic forms, workflow timelines, maps and printing.
For developers
npm install @vigour-platforms/ui@nextimport "@vigour-platforms/ui/styles.css";
<VigourProvider config={configFromEnv()}>
{children}
</VigourProvider><Select
label="Category"
options={options}
value={category}
onChange={setCategory}
isSearchable
/>Start with sensible defaults. Go deeper only when you need to – nothing forces you to fork the library.
size="sm" · variant="filled"behavior={{ closeOnSelect: false }}Set once in the provideronBeforeChange can cancelrenderOption · renderEmptyslots={{ Option: MyOption }}useSelect · useTablenpx vigour add selectThe catalogue
Everything a business app needs, from inputs to full app-shell screens. Items marked On npm are in the current release; the rest are on the way. Items marked Pro are part of the Pro tier.
Same API as Core – upgrade by changing one import.
Virtualised lists, paged remote search, tag mode with drag-to-reorder, cascading options.
Row and column virtualisation, pinning and resizing, grouping, inline editing, saved views, Excel export.
Masks for phone and Sri Lankan NIC formats, LKR and multi-currency formatting, OTP input.
Range presets, April–March financial year, Sri Lankan public and Poya holiday calendars.
Resumable chunked uploads, image crop and compress, bulk CSV/Excel import with column mapping.
Visual form builder, conditional logic, computed fields and multi-step wizards.
Coming soon · Vigour Flow
Vigour Flow is a canvas for React. People sketch a process on a whiteboard, tidy it into a diagram, make it work and watch it run – without redrawing anything. One document, four lenses.
Think fast on a whiteboard: freehand, sticky notes, rough boxes and arrows.
Explain clearly: neat shapes, swimlanes, phases and routed connectors.
Make it work: typed nodes, conditions on edges and live validation.
See what's happening: live counts, wait times and bottleneck heat on the same drawing.
Rough strokes are recognised and promoted to real shapes, then to working logic. No redrawing.
Drop a connection in empty space and get the most likely next steps, ranked for your team.
Swimlanes bind to real roles. Move a step into Finance and Finance owns it.
A Problems panel flags dead ends and missing branches, with one-click fixes.
Send a sample item through the flow step by step before anyone relies on it.
Watch real runs move through the process and see where work piles up.
Editions
Free · open source (MIT)
Free during the preview
Custom terms
Your secrets stay in your project. Vigour Components never ships API keys. Browser-safe keys come from your own public environment variables, and secret keys stay on your server routes.
Yes. The free developer preview is on npm: run npm install @vigour-platforms/ui@next. It includes Select, date pickers, phone input, checkboxes, switches, toasts and more. New components arrive with each release; join the waitlist to hear about Pro and Vigour Flow.
@vigour-platforms/ui has the React components and @vigour-platforms/tokens has the design tokens (CSS variables and a Tailwind CSS v4 theme). Installing ui installs tokens too. Both are MIT licensed.
Yes. The published Core packages are free and open source under the MIT licence. When Pro components arrive they will be free during the preview; after that, Pro needs a paid licence and Core stays free.
Yes. It's Tailwind-native but not Tailwind-locked: use it with Tailwind CSS v4, or import a precompiled stylesheet. Next.js, Vite and other React setups are supported.
Never inside the package. Browser-safe keys come from your project's public environment variables, and secret keys stay on your own server routes.
A canvas for React that lets people sketch, diagram, build and run processes in one place, with four lenses on the same document: Sketch, Diagram, Logic and Live.
Accessibility is a release requirement: keyboard support, focus management, labels and WCAG 2.2 AA contrast, checked automatically on every component.
Get an email when new components, the Pro editions and Vigour Flow arrive. Building a business instead? Explore Vigour Platforms ERP.