Skip to content

Now on npm · Developer preview v0.2.0 · MIT

Vigour Components. Business-ready React components.

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.

  • React & TypeScript
  • Tailwind CSS v4 or plain CSS
  • WCAG 2.2 AA
import { Select, DatePicker } from "@vigour-platforms/ui";

<Select
  label="Category"
  options={categories}
  isSearchable
/>

<DatePicker label="Claim date" isClearable />
Both components are in the npm developer preview.

On npm now

Install the developer preview today.

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@next

In this release: Button, Input, Select, Checkbox & radio, Switch, Textarea, Date pickers, Phone input, Toasts, Skeletons & loaders. All Vigour packages on npm.

Why Vigour Components

Import, use, and change anything.

Import, don't copy

npm install, wrap your app once, then import and use. Every component works with zero configuration and sensible defaults.

Change anything

Props, theme tokens, slot class names, render props, headless hooks – and for Core, eject the full source into your project.

Built for business apps

Searchable selects, filter engines, data tables with saved views, dynamic forms, workflow timelines, maps and printing.

For developers

Three steps to your first screen.

  1. Install

    npm install @vigour-platforms/ui@next
  2. Wrap once

    import "@vigour-platforms/ui/styles.css";
    
    <VigourProvider config={configFromEnv()}>
      {children}
    </VigourProvider>
  3. Use

    <Select
      label="Category"
      options={options}
      value={category}
      onChange={setCategory}
      isSearchable
    />

Eight levels of customisation

Start with sensible defaults. Go deeper only when you need to – nothing forces you to fork the library.

  1. Propssize="sm" · variant="filled"
  2. Behaviour optionsbehavior={{ closeOnSelect: false }}
  3. Global defaultsSet once in the provider
  4. Event hooksonBeforeChange can cancel
  5. Render propsrenderOption · renderEmpty
  6. Slot componentsslots={{ Option: MyOption }}
  7. Headless hooksuseSelect · useTable
  8. Eject (Core)npx vigour add select

The catalogue

Over 100 components, proven inside Vigour Platforms ERP.

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.

Inputs

  • ButtonOn npm
  • InputOn npm
  • SelectOn npm
  • Checkbox & radioOn npm
  • SwitchOn npm
  • TextareaOn npm
  • Date pickersOn npm
  • Phone inputOn npm
  • Range slider
  • Time picker
  • Password strength

Data & forms

  • Table
  • Filter engine
  • Dynamic form
  • Timeline
  • Approval queuePro
  • Gantt schedulerPro
  • Export centrePro

Layout & app shell

  • App shell
  • List, detail & dashboard screens
  • Page header
  • Action bar
  • Tabs
  • Menus
  • Modal & confirm

Feedback

  • ToastsOn npm
  • Skeletons & loadersOn npm
  • Empty states
  • Avatar
  • Search command
  • Connection status

Add-ons

  • Maps
  • Rich text editor
  • AI writing assistPro
  • Print templatesPro
  • Vigour Flow

Pro editions

Same API as Core – upgrade by changing one import.

Select Pro Pro

Virtualised lists, paged remote search, tag mode with drag-to-reorder, cascading options.

Table Pro Pro

Row and column virtualisation, pinning and resizing, grouping, inline editing, saved views, Excel export.

Input Pro Pro

Masks for phone and Sri Lankan NIC formats, LKR and multi-currency formatting, OTP input.

Date Pro Pro

Range presets, April–March financial year, Sri Lankan public and Poya holiday calendars.

Upload Pro Pro

Resumable chunked uploads, image crop and compress, bulk CSV/Excel import with column mapping.

Forms Pro Pro

Visual form builder, conditional logic, computed fields and multi-step wizards.

Coming soon · Vigour Flow

Sketch it, build it, run it – on one canvas.

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.

  1. Sketch

    Think fast on a whiteboard: freehand, sticky notes, rough boxes and arrows.

  2. Diagram

    Explain clearly: neat shapes, swimlanes, phases and routed connectors.

  3. Logic

    Make it work: typed nodes, conditions on edges and live validation.

  4. Live

    See what's happening: live counts, wait times and bottleneck heat on the same drawing.

Sketch-to-Flow

Rough strokes are recognised and promoted to real shapes, then to working logic. No redrawing.

Smart Next Step

Drop a connection in empty space and get the most likely next steps, ranked for your team.

Lanes that mean something

Swimlanes bind to real roles. Move a step into Finance and Finance owns it.

Live linting

A Problems panel flags dead ends and missing branches, with one-click fixes.

Dry run

Send a sample item through the flow step by step before anyone relies on it.

Run replay

Watch real runs move through the process and see where work piles up.

Twelve starter kits

  • Flowchart
  • Whiteboard
  • Workflow
  • Lifecycle
  • Rules
  • Org chart
  • Mind map
  • BPMN-lite
  • ER / data model
  • Architecture
  • Floor & route
  • SOP steps

Editions

Free to start. Every component free during the preview.

Core

Free · open source (MIT)

  • Primitives, inputs, overlays and layout screens
  • Basic Table and Select
  • Flow Core: Diagram and Logic lenses
  • Eject the source with the CLI

Enterprise

Custom terms

  • Priority support
  • Security questionnaire
  • Private registry option
  • White-label theme packs

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.

Questions developers ask

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.

Hear about every new release.

Get an email when new components, the Pro editions and Vigour Flow arrive. Building a business instead? Explore Vigour Platforms ERP.

We only use your email to tell you about Vigour Components and Vigour Flow. See our privacy policy.