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

@fluix-ui/react

v0.0.9

Published

React adapter for Fluix UI components.

Downloads

591

Readme

@fluix-ui/react

React adapter for Fluix UI components.

Install

npm install @fluix-ui/react @fluix-ui/css

What this package includes

  • Toaster + fluix imperative API for toast notifications.
  • Notch for adaptive floating island interactions.
  • Menu (Menu.Root + Menu.Item + Menu.Indicator) for animated navigation.

Quick start (Toasts)

import { Toaster, fluix } from "@fluix-ui/react";
import "@fluix-ui/css";

export function App() {
  return (
    <>
      <Toaster config={{ position: "top-right", layout: "stack" }} />

      <button
        onClick={() =>
          fluix.success({
            title: "Saved",
            description: "Your changes were stored.",
          })
        }
      >
        Save
      </button>
    </>
  );
}

Promise toasts

await fluix.promise(saveUser(), {
  loading: { title: "Saving..." },
  success: (data) => ({
    title: "Saved",
    description: `User ${data.name} updated`,
  }),
  error: (err) => ({
    title: "Failed",
    description: err instanceof Error ? err.message : "Unexpected error",
  }),
});

Notch

Notch is a controlled/uncontrolled component with pill (collapsed content) and content (expanded content).

import { Notch } from "@fluix-ui/react";

export function PlayerNotch() {
  return (
    <Notch
      position="top-center"
      trigger="click"
      theme="dark"
      pill={<span>Now</span>}
      content={
        <div style={{ display: "flex", gap: 8 }}>
          <button type="button">Prev</button>
          <button type="button">Play</button>
          <button type="button">Next</button>
        </div>
      }
    />
  );
}

Menu

Use Menu.Root in uncontrolled mode (defaultActiveId) or controlled mode (activeId + onActiveChange).

import { Menu } from "@fluix-ui/react";

export function AppMenu() {
  return (
    <Menu.Root defaultActiveId="home" variant="pill" orientation="horizontal" theme="dark">
      <Menu.Item id="home">Home</Menu.Item>
      <Menu.Item id="projects">Projects</Menu.Item>
      <Menu.Item id="settings">Settings</Menu.Item>
    </Menu.Root>
  );
}

Custom indicator fill

Override the indicator color via fill on Menu.Root or with Menu.Indicator:

{/* Via Root prop */}
<Menu.Root defaultActiveId="home" fill="#6366f1">…</Menu.Root>

{/* Or via Indicator for granular control */}
<Menu.Root defaultActiveId="home">
  <Menu.Indicator fill="#6366f1" />
  <Menu.Item id="home">Home</Menu.Item>
</Menu.Root>

Theming

Pass any theme name to Fluix components. Themes are pure CSS (see @fluix-ui/css).

fluix.success({ title: "Done", theme: "midnight" });

Exports

import { Toaster, fluix, Notch, Menu } from "@fluix-ui/react";
import type {
  ToasterProps,
  NotchProps,
  MenuRootProps,
  MenuItemProps,
  MenuIndicatorProps,
  MenuOrientation,
  MenuVariant,
  MenuTheme,
  FluixToastOptions,
  FluixToasterConfig,
} from "@fluix-ui/react";

Docs

  • Official docs: https://fluix.ivanlopezdev.es
  • Source code: https://github.com/ivanlhz/fluix