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

@foci-solutions/foci-design-system

v0.6.7

Published

A design system and set of React components by Foci Solutions

Readme

Foci Design System

The Foci Design System repository contains reusable React UI components.

NPM License NPM Version NPM Downloads

Deployments

Pre-Requisites

This package is intended to be used in a React app which has already been configured with Tailwind CSS. See the react / tailwind guide.

Install Peer-Dependencies

If these packages are not already installed, they will need to be included prior to installing the component library.

npm install react react-dom

For TypeScript projects, the types can also be added.

npm install --save-dev @types/react

Installation

The node module is published as a package on the public npm registry.

npm install @foci-solutions/foci-design-system

Initial Setup in Your Project

Tailwind Config

In the project's tailwind configuration file (e.g. tailwind.config.ts):

  • Add the fociDesignSystem to the presets section.

    import { fociDesignSystem } from './src/tailwind-presets';
  • Add the foci-design-system's .js files to the content section.

    './node_modules/@foci-solutions/foci-design-system/**/*.js'

Example Tailwind Config:

// tailwind.config.ts
import { fociDesignSystem } from './src/tailwind-presets';
import type { Config } from 'tailwindcss';

export default {
  presets: [fociDesignSystem],
  content: ['./src/**/*.{js,ts,jsx,tsx}', './node_modules/@foci-solutions/foci-design-system/**/*.js'],
  theme: { extend: {} },
} satisfies Config;

CSS

In the project's global style sheet (e.g. globals.css, index.css or styles.css), import the Foci Design System style sheet from the node_modules folder.

/* globals.css
 * The path is relative to the css file, so use as many `../` as is needed to go back to your
 * node_modules directory. Also, make sure your bundler includes this css file (this may be automatic). */
@import url('../../node_modules/@foci-solutions/foci-design-system/tailwind-presets/fociDesignSystem.css');

Usage

Importing a Component

The components can be imported from the root of the design system, or from the individual component folders. For ESM projects, it doesn't matter which is used, but for CJS projects, importing from the individual components may enable the bundler to perform tree-shaking. In both cases the component is a named export, there are no default exports.

Example

// Top-level 'root' import
import { TextInput } from '@foci-solutions/foci-design-system';
// Component-level import
import { TextInput } from '@foci-solutions/foci-design-system/Inputs/TextInput';

function App() {
  return (
    <main>
      <div>
        <TextInput label="Username" placeholder="Username or Email" />
        <TextInput label="Password" type="password" placeholder="Password" />
      </div>
    </main>
  );
}

export default App;

Attributions

This project utilizes: