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

epysa-ui

v0.1.2

Published

Epysa React UI components (Field, Input, Select, FormFile, Modal, NavBar, ShowInput)

Readme

epysa-ui

React UI component library: Field, Input, Select, FormFile, ShowInput, NavBar, Modal.

Install

npm install epysa-ui

Peer dependencies: react / react-dom >= 18.

Usage

Import the stylesheet once (e.g. in your app entry point):

import "epysa-ui/style.css";
import { Input, Select, FormFile, ShowInput, Field, NavBar, NavBarBrand, NavBarMenu, Modal, modalToggler } from "epysa-ui";

<Input label="Name" name="name" placeholder="Jane Doe" />

<Select label="Country" name="country">
  <option value="ar">Argentina</option>
  <option value="cl">Chile</option>
</Select>

<FormFile label="Attachment" name="file" />

<ShowInput heading="Status">Active</ShowInput>

<NavBar variant="primary">
  <NavBarBrand>My App</NavBarBrand>
  <NavBarMenu>{/* links */}</NavBarMenu>
</NavBar>

Field

Input and Select are built on top of Field, which handles the label, help/error text, and left/right icons or addons. You can also wrap custom controls directly:

<Field label="Custom" info="Helper text" alert={error}>
  <MyControl />
</Field>

Modal

Modals are controlled by name via modalToggler, or externally via the isActive / toggleModal props.

<button onClick={() => modalToggler("example")}>Open</button>

<Modal modalName="example" closeButton>
  <h2>Title</h2>
  <p>Content</p>
</Modal>

Smaller bundles: per-component imports

epysa-ui/style.css ships every component's CSS in one file. If you only use a few components, import each one's stylesheet instead so unused styles never reach the browser:

import "epysa-ui/base.css"; // shared reset + design tokens — always required
import "epysa-ui/modal/style.css";
import "epysa-ui/navbar/style.css";
import { Modal } from "epysa-ui/modal";
import { NavBar, NavBarBrand, NavBarMenu } from "epysa-ui/navbar";

Each component has a matching subpath: epysa-ui/field, epysa-ui/input, epysa-ui/select, epysa-ui/form-file, epysa-ui/show-input, epysa-ui/navbar, epysa-ui/modal (input and select share field/style.css, since both are built on Field). epysa-ui/base.css holds the shared resets and --epy-* tokens every component's CSS depends on, so it must be imported alongside whichever components you use.

Development

npm run build   # builds dist/ (ESM + CJS + types + CSS)
npm run clean   # removes dist/