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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@nonfx/flow-core

v3.0.6

Published

Core package of flow design system

Downloads

781

Readme

Flow-core

Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge Dynamic JSON Badge build release CodeQL Security Rating Maintainability Rating Quality Gate Status Reliability Rating Duplicated Lines (%) Vulnerabilities Bugs

Flow-core is the base library required by any flow dependecies. It consists mostly of building blocks such design + system tokens, atoms, molecules, base themes, etc.

Table of contents

Getting started

Starter kits

For a new project, Flow has put together starter kits with basic dependencies to get you going. Each starter kit will contain Flow core, Flow system icons, Default google fonts and fully functional Flow templates (eg: top navigation, profile, left navigation, etc)

Kits

If you would like to contribute to an existing starter kit or write a new one for a different framework, write to [email protected] or ping on our slack channel.

VScode Plugin: Install Flow's Plugin to access components, icons, values, etc, and documentation inside of VScode.

Browser Debugger: Chrome, Firefox, Safari

Note: For Typescript, make sure you are using version >4.5


Existing project

1️⃣ Install flow core

npm i --save @nonfx/flow-core

Note: after installation re-start your application.

2️⃣ Import flow-core into your project

Copy and import the below snippet into your startup file. In VueJS: (src/main.ts or main.js), Angular: (src/main.ts), React: (src/index.tsx or index.jsx)

import "@nonfx/flow-core";

3️⃣ If your project uses Typescript (>4.5) please include import types

Vue: Copy paste below line in your main.ts file.

import "@nonfx/flow-core/dist/types/vue2";

or

import "@nonfx/flow-core/dist/types/vue3";

React Include react type in tsconfig.json like below

"include": ["src", "./node_modules/@nonfx/flow-core/dist/types/react.ts"]

Note: after adding the snippets, re-start your application.

Flow icons

Icons are not packaged with Flow core to allow more flexibility and customization. We recommend that you install the system icon pack to get started.

1️⃣ Install the icon pack

npm i --save @nonfx/flow-icons

2️⃣ Import the icon pack

import "@nonfx/flow-core";
import { register } from "@nonfx/flow-icons";
register(["system"]);

VScode Plugin and debuggers

Install Flow's Plugin to access components, icons, values, etc, and documentation inside of VScode.

Browser Debugger: Chrome, Firefox, Safari

Components

Visit the Flow components Storybook

Templates

Visit the Flow templates Storybook

Dependencies

  • Tables (In development)
  • Logs (coming soon)
  • Force graph (coming soon)
  • Themes (coming soon)
  • Time-series (coming soon)

Resources

Get in touch

If you would like to get in touch or contribute, please write to [email protected].