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 🙏

© 2025 – Pkg Stats / Ryan Hefner

fibogrid

v1.0.28

Published

High-performance React data grid component inspired by mathematical elegance

Readme

FiboGrid

npm version License: MIT

High-performance React data grid component inspired by mathematical elegance and the golden ratio.

Documentation | Demo | Examples

✨ Features

  • Blazing Fast - Virtual scrolling optimized for 100k+ rows at 60fps
  • 🎨 Modern Design - Built with Tailwind CSS and shadcn/ui components
  • 📊 Advanced Sorting - Multi-column sorting with priority order
  • 🔍 Excel-style Filtering - Powerful filtering with multiple conditions
  • 📌 Column Pinning - Pin columns left or right with solid backgrounds
  • ✏️ Inline Editing - Edit cells directly with various editor types
  • 📦 Row Grouping - Group rows with aggregations (sum, avg, min, max, count)
  • 🎯 Range Selection - Select and copy cell ranges like Excel
  • 🔄 Drag & Drop - Reorder rows and columns via drag
  • 📤 Export - Export to CSV and Excel formats
  • 🌓 Dark Mode - Full dark mode support
  • 🔗 Linked Grids - Sync state between multiple grids
  • 🌐 Server-side Mode - Pagination, sorting, and filtering on the server
  • Accessible - Full keyboard navigation support
  • 📱 TypeScript - Fully typed with TypeScript

📦 Installation

npm install fibogrid
yard add fibogrid
pnpm add fibogrid

🚀 Quick Start

import { FiboGrid } from 'fibogrid';
import type { ColumnDef } from 'fibogrid';
import 'fibogrid/styles.css';

interface Row {
  id: string;
  name: string;
  email: string;
  age: number;
}

const columns: ColumnDef<Row>[] = [
  { field: 'name', headerName: 'Name', sortable: true, filterable: true },
  { field: 'email', headerName: 'Email', sortable: true, width: 250 },
  { field: 'age', headerName: 'Age', sortable: true, filterType: 'number' },
];

const data: Row[] = [
  { id: '1', name: 'John Doe', email: '[email protected]', age: 30 },
  { id: '2', name: 'Jane Smith', email: '[email protected]', age: 25 },
];

function App() {
  return (
    <FiboGrid
      rowData={data}
      columnDefs={columns}
      rowSelection="multiple"
      pagination
      paginationPageSize={50}
      height={600}
    />
  );
}

📚 Documentation

For full documentation, visit https://felipeoliveiradev.github.io/fibogrid

Core Props

| Prop | Type | Default | Description | |------|------|---------|-------------| | rowData | T[] | required | Array of data objects | | columnDefs | ColumnDef<T>[] | required | Column definitions | | getRowId | (data: T) => string | auto | Function to get unique row ID | | height | number \| string | 600 | Grid height | | rowHeight | number | 40 | Height of each row | | pagination | boolean | false | Enable pagination | | paginationPageSize | number | 100 | Rows per page | | rowSelection | 'single' \| 'multiple' | - | Enable row selection | | showToolbar | boolean | true | Show top toolbar | | showStatusBar | boolean | true | Show bottom status bar |

Column Definition

interface ColumnDef<T> {
  field: string;
  headerName?: string;
  width?: number;
  sortable?: boolean;
  filterable?: boolean;
  filterType?: 'text' | 'number' | 'date';
  editable?: boolean;
  pinned?: 'left' | 'right';
  hide?: boolean;
  cellRenderer?: (params: CellRendererParams<T>) => React.ReactNode;
  valueFormatter?: (value: any) => string;
  aggFunc?: 'sum' | 'avg' | 'min' | 'max' | 'count';
}

🎯 Advanced Examples

Server-side Pagination

const dataSource: ServerSideDataSource<Row> = {
  async getRows(request) {
    const response = await fetch(`/api/data?page=${request.page}&pageSize=${request.pageSize}`);
    const json = await response.json();
    return {
      data: json.items,
      totalRows: json.total,
      page: json.page,
      pageSize: json.pageSize,
    };
  },
};

<FiboGrid
  rowData={[]}
  columnDefs={columns}
  pagination
  paginationMode="server"
  serverSideDataSource={dataSource}
/>

Row Grouping

<FiboGrid
  rowData={data}
  columnDefs={columns}
  groupByFields={['department', 'team']}
  groupAggregations={{
    salary: 'sum',
    age: 'avg',
  }}
/>

Custom Cell Renderer

const columns: ColumnDef<Row>[] = [
  {
    field: 'status',
    headerName: 'Status',
    cellRenderer: ({ value }) => {
      const colors = {
        active: 'bg-green-500',
        inactive: 'bg-red-500',
      };
      return (
        <span className={`px-2 py-1 rounded ${colors[value]}`}>
          {value}
        </span>
      );
    },
  },
];

🛠 Development

# Install dependencies
npm install

# Start dev server
npm run dev

# Build library
npm run build:lib

# Build documentation site
npm run build

📄 License

MIT © Felipe Oliveira

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

🔗 Links