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

flowscreen

v0.1.6

Published

Beautiful, production-ready error and state screens for React and Next.js.

Downloads

344

Readme

FlowScreen

🚫 Your error pages are ugly. Fix them in 3 seconds.

One component. Zero CSS. Production-ready UI.⚡️

npm License

⚡ 1 line is all it takes

<FlowScreen template="error-cloudflare" code="503" />

That’s it. Your ugly error page is now production-ready.

✨ No CSS · ⚡ Works instantly · 🧩 Drop-in component · 🛡 SSR safe · 🚀 Next.js ready

npm install flowscreen

Preview

FlowScreen Sleeping Moon FlowScreen Template Maintanence Offline

Install

npm install flowscreen

Quick Start

import { FlowScreen } from "flowscreen/react";

export default function Page() {
  return <FlowScreen template="error-cloudflare" code="503" />;
}

Works instantly with no provider and no backend setup.

Examples

Error Screen

Code drives default title/description; override with title and description props.

<FlowScreen
  template="error-modern"
  code="500"
  title="Something went wrong"
  description="Please try again later."
  button={{ label: "Reload", onClick: () => window.location.reload() }}
/>

Empty State

No code required. Suited for dashboards and SaaS tables when there’s no data.

<FlowScreen
  template="empty-basic"
  title="No results found"
  description="Try adjusting your filters."
  button={{ label: "Clear Filters", onClick: resetFilters }}
/>

Maintenance Screen

Fits scheduled downtime or feature flags. SSR-safe.

<FlowScreen
  template="maintenance-under-construction"
  code="503"
  title="Scheduled Maintenance"
  description="We'll be back at 02:00 UTC."
/>

Hide fields (optional)

Omit title or description when the template supports it.

<FlowScreen template="error-cloudflare" code="404" hideTitle hideDescription />

Templates

error-sleeping-moon

error-sleeping-moon

error-cloudflare

error-cloudflare

error-parallax

error-parallax

error-mailchimp-pro

error-mailchimp-pro

error-amazon

error-amazon

Available Templates

  • basic
  • error-cloudflare
  • error-minimal
  • error-modern
  • error-classic
  • error-parallax
  • error-animated
  • error-sad-bear
  • error-character-illustration
  • error-sleeping-moon
  • error-amazon
  • error-mailchimp
  • error-mailchimp-pro
  • empty-basic
  • empty-no-results
  • empty-inside-out
  • empty-not-found-666
  • maintenance-basic
  • maintenance-under-construction
  • maintenance-offline
  • maintenance-electric-pro
  • maintenance-playful-road

Template categories

  • Error → HTTP errors (4xx, 5xx)
  • Empty → No-data states (tables, search, dashboards)
  • Maintenance → Downtime or feature-flag screens

Features

  • Works instantly in free mode
  • No backend required
  • SSR compatible
  • Next.js ready
  • Templates bundled in SDK
  • Zero CSS setup
  • Theme system
  • Safe fallback behavior

Who is this for?

  • SaaS applications
  • Dashboards
  • Developer tools
  • Internal admin panels
  • Products needing production-ready error states

Architecture

App → FlowScreen SDK → Render (no network)

Key points:

  • The SDK never fetches templates.
  • Templates are bundled in the SDK.
  • No backend is required to render screens.

Theming

theme.typography controls visual tokens (e.g. code size, title size). Use classNames to override specific elements with your own CSS.

<FlowScreen
  template="error-modern"
  code="503"
  theme={{
    fontFamily: "Inter",
    typography: {
      code: { fontSize: "6rem" },
      title: { fontSize: "2rem" },
    },
  }}
/>

Docs

See full documentation at https://flowscreen.io/docs/get-started.

Next.js and local file: dependency

Next.js 16 (Turbopack) has a known limitation resolving local packages and subpath exports.

Use:

  • transpilePackages: ["flowscreen"]
  • and, if needed, turbopack.root

Or use:

  • next build --webpack

Contributing

See CONTRIBUTING.md.

Build

npm run build

Security

See SECURITY.md.

License

See LICENSE in this repository.