npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

formsy-blueprintjs

v0.0.6

Published

A formsy-react version of Blueprint components

Readme

formsy-blueprintjs

This library is a wrapper for BlueprintJS form components to allow them to be used with formsy-react, a form validation component for React forms.

Installation

To and install formsy-blueprintjs and add it to your package.json, run:

$ npm install --save formsy-blueprintjs

You will also need to add formsy-react if not already installed:

$ npm install --save formsy-react

Usage

The package should work just fine, but it's largly untested and there could be bugs. Feel free to contribute and submit PR's.

ES6 Imports

import FormsyCheckbox from 'formsy-blueprintjs/lib/formsyCheckbox';
import FormsyDateInput from 'formsy-blueprintjs/lib/formsyDateInput';
import FormsyDateInputPicker from 'formsy-blueprintjs/lib/formsyDateInputPicker';
import FormsySelect from 'formsy-blueprintjs/lib/formsySelectField';
import FormsyRadioGroup from 'formsy-blueprintjs/lib/formsyRadioGroup';
import FormsyText from 'formsy-blueprintjs/lib/formsyTextField';
import FormsySwitch from 'formsy-blueprintjs/lib/formsySwitch';

Examples

Short examples on how it can be used.

Checkbox

<FormsyCheckbox required name='isAdmin' label='Administrator' />

Date Input

<FormsyDateInput required name='expireDate' label='Expire Date' />

Selects

const movies = [{title: 'Gladiator', value: 0}, {title: 'The Matrix', value: 1}];

<FormsySelect required initialValue={0} name='movieId' label='Movies'>
  {movies}
</FormsySelect>

Radio Groups

const movies = [{title: 'Gladiator', value: 0}, {title: 'The Matrix', value: 1}];

<FormsyRadioGroup required initialValue={1337} name='movieId' label='Movies'>
  {movies}
</FormsyRadioGroup>

Text Field Input

<FormsyText required name='email' validations='isEmail' validationError='This is not an email' placeholder='Example; [email protected]' label='Email' />

Switch

<FormsySwitch required name='updateMovies' label='Update Movies' />

Available Props

Most of these components share props, these are available.

Common Props
  label:            string    The label/text of the component.
  inline:           bool      Controls if the input should be inline, or not.
  fill:             bool      The component tries to fill it's parent width.
  disabled:         bool      Controls if the component is disabled or not.
  name:             string    Used by formsy-react.
  value:            varies    For an controlled component.

FormsyCheckbox
  initialValue:     string    Controls if the checkbox is checked by default.

FormsyDateInput
  initialValue:     string    The default value of the component, should be a valid date.
  placeholder:      string    The placeholder text or value.
  maxDate:          string    The maxdate available for selection, should be a valid date.
  minDate:          string    The maxdate available for selection, should be a valid date.

FormsySelect
  initialValue:     number    The initial selected option in the select input.
  placeholder:      string    The placeholder text or value.
  leftIconName:     string    A valid BlueprintJS icon name.

FormsyRadioGroup
  initialValue:     number    The initial selected option in the radio group.
  placeholder:      string    The placeholder text or value.
  leftIconName:     string    A valid BlueprintJS icon name.
  style:            object

FormsyText
  initialValue:     number    The initial text of the component.
  type:             string    The input type, for example 'text' or 'password'.
  placeholder:      string    The placeholder text or value.
  leftIconName:     string    A valid BlueprintJS icon name.
  rightElement:     element   A valid component to display, for example an <Button />
  inputRef:         element 

FormsySwitch
  initialValue:     string    Controls if the switch is checked by default.

Known Issues

See issues.

Release History

See CHANGELOG.md

Acknowledgements

Based on Formsy-Material-UI.

Contribute

Yes please. :)