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

fiboui

v1.0.2

Published

A Flutter/SwiftUI-inspired React UI framework with builder pattern and theme system

Readme

🏗️ FiboUI v1.0.0

A Flutter & SwiftUI-inspired React UI framework featuring a powerful Assembly Pattern and high-fidelity reactivity.

FiboUI brings the expressive, chainable syntax of modern mobile frameworks to React. Build complex, beautiful, and highly-performant UIs with zero boilerplate and maximum readability.


✨ Features

  • 🏗️ The Assembly Pattern - Components return builders for endless chaining.
  • Zero-Build Children - Pass builders directly to .children(); they build implicitly.
  • 🔬 Fine-Grained Reactivity - Native support for Signals, Computed, and Observables.
  • 🎭 Dynamic Multi-Theme - Material, Cupertino, and Web themes with instant global switching.
  • 🎨 Premium Aesthetics - Built-in glassmorphism, micro-animations, and sleek dark modes.
  • 🔷 100% Type-Safe - Built with TypeScript for the best developer experience.

🚀 Installation

npm install fiboui

Import the styles in your main entry file:

import 'fiboui/dist/style.css';

🏗️ The Assembly Pattern

1. Components as Builders

Components return builder instances, allowing customization before rendering.

StakentCard()
  .className("p-8 hover:border-indigo-500/50")
  .style({ backgroundColor: '#111' })
  .children([ ... ])
  .build()

2. Implicit Construction

Builders in .children() are automatically finalized.

Column().children([
  Text("Title").variant("h1"), 
  Button("Action").onClick(handlePress)
]).build()

⚡ Reactivity & State

Signals (Primitives)

const count = signal(0);

Box()
  .bindSignal(count)
  .children([
    Text(`Count: ${count.value}`),
    Button("+").onPress(() => count.value++)
  ])
  .build()

Global Store

const store = createStore({ theme: 'dark', user: 'John' });

Box().observer().children([
  Text(store.getState().user)
])

📱 Scaffold & Layout Shells

The Scaffold and DashboardLayout components provide professional-grade app structures.

import { Scaffold, Sidebar, Header, Text, StakentButton } from 'fiboui';

Scaffold()
  .header(
    Header().height(80).className("px-6 bg-white shadow-sm").children([
      Text("App Title").variant("h2"),
      StakentButton({ text: "Profile", variant: "outline" })
    ])
  )
  .sidebar(
    Sidebar().width(240).children([
       StakentSidebarItem({ label: "Home", active: true, icon: "home" }),
       StakentSidebarItem({ label: "Settings", icon: "settings" })
    ])
  )
  .fab(
    Button("+").variant("fab").onPress(() => console.log("Added!"))
  )
  .children([
    Text("Welcome to the main content area.")
  ])
  .build()

🛒 Full Example: E-commerce Store

Combine Signals, Store, and Builders for a complete reactive application.

import { signal, computed, createStore, Scaffold, Box, Text, Button, Badge, Row } from 'fiboui';

// 1. Global Store
const appStore = createStore({
  cart: [],
  products: [
    { id: '1', name: 'MacBook Pro', price: 2499, image: '💻' },
    { id: '2', name: 'iPhone 15', price: 999, image: '📱' }
  ]
});

// 2. Reactive Computed Values
const cartTotal = computed(() => {
  const cart = appStore.getState().cart;
  return cart.reduce((sum, item) => sum + item.price * item.quantity, 0);
});

// 3. UI Component
export function EcommerceApp() {
  return Scaffold()
    .header(
      Header().children([
        Text('🛒 FiboShop').variant("h2"),
        Row().children([
          Text(`Total: $${cartTotal.value.toFixed(2)}`).bindSignal(cartTotal),
          Badge().text(appStore.getState().cart.length.toString()).observer()
        ])
      ])
    )
    .children([
      Grid().columns(2).gap("md").children(
        appStore.getState().products.map(product => 
          Card().children([
            Text(product.image).fontSize(40),
            Text(product.name).fontWeight("bold"),
            Button(`Add $${product.price}`).onPress(() => {
              // Update Store & Watch UI React!
              appStore.setState(s => ({ cart: [...s.cart, { ...product, quantity: 1 }] }));
            })
          ])
        )
      )
    ])
    .build();
}

📄 License

MIT © 2025 FiboUI