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

@rainbow-oh/yee-c

v0.3.0

Published

yee basic components

Readme

@rainbow-oh/yee-c

npm License: MIT

65+ foundational React UI components for building modern enterprise applications. Part of the Yee component library.

Features

  • 65+ Components — Forms, tables, navigation, feedback, data display, and more
  • TypeScript First — Complete type definitions for all components and props
  • Theming — CSS variable-based theming with 10+ built-in color presets
  • 20+ HooksuseDebounceValue, useMergedState, useVirtualForm, useResizeObserver, etc.
  • Tree-shakeable — ESM / CJS / UMD builds with proper sideEffects configuration
  • Accessibility — Keyboard navigation and ARIA attributes where applicable

Installation

pnpm add @rainbow-oh/yee-c

Requires react >= 18 and react-dom >= 18 as peer dependencies.

Usage

import { Button, Form, Input, Table, Card, Select, Dialog, message } from '@rainbow-oh/yee-c';

Import styles:

// Variables and theme
import '@rainbow-oh/yee-c/variables.css';

// Or a specific color theme
import '@rainbow-oh/yee-c/color.blue.css';

Quick Example

import { Form, Input, Button, message } from '@rainbow-oh/yee-c';

function UserForm() {
  const [form] = Form.useForm();
  const { messageApi, messageHolder } = message.useMessage();

  const handleSubmit = (values: { name: string }) => {
    messageApi.success(`Submitted: ${values.name}`);
  };

  return (
    <>
      {messageHolder}
      <Form form={form} onFinish={handleSubmit}>
        <Form.Field label="Name" name="name" rules={[{ required: true, message: 'Please enter name' }]}>
          <Input />
        </Form.Field>
        <Button type="primary" htmlType="submit">Submit</Button>
      </Form>
    </>
  );
}

Components

General

Button, Divider, Space, Spin, Skeleton, Watermark, ErrorBoundary, FloatButton

Layout

Box, Card, Carousel, Collapse, Descriptions, Grid, List, Splitter, Steps, Tabs, Timeline

Navigation

Anchor, Breadcrumb, Dropdown, Menu, Pagination

Data Entry

Cascader, Checkbox, DatePicker, Form, Input, InputNumber, Radio, RangePicker, Rate, Search, Select, Slider, Switch, TextArea, Transfer, TreeSelect, Upload, VerificationCode

Data Display

Avatar, Badge, Ellipsis, Highlight, ImageViewer, JsonViewer, Label, Popover, Progress, QRCode, Tag, Tooltip, Tree, Table, TableSelect

Feedback

Alert, Dialog, Drawer, Message, Notice, Popconfirm, Trigger

Other

ConfigProvider, Portal

Hooks

20+ utility hooks for common React patterns:

| Hook | Description | |---|---| | useDebounceFunction | Debounced function execution | | useDebounceValue | Debounced state value | | useDeepCompareEffect | Effect with deep comparison | | useDeepCompareMemo | Memo with deep comparison | | useMergedState | Controlled/uncontrolled state | | useLatest | Always-current ref value | | useMount | Mount lifecycle hook | | useUpdateEffect | Skip-first-run effect | | useResizeObserver | Element resize observation | | useElementSize | Element dimensions tracking | | useEvent | Stable event handler | | useFocusManage | Focus management | | useKeyControl | Keyboard control | | useVirtualForm | Virtual scrolling for forms |

Theming

Use built-in color themes by importing the corresponding CSS file:

import '@rainbow-oh/yee-c/variables.css';   // Base variables
import '@rainbow-oh/yee-c/color.blue.css';  // Blue theme
import '@rainbow-oh/yee-c/color.dark.css';  // Dark theme

Available themes: blue, crimson, dark, green, jam, navy, peach, pine, pitaya, pumpkin, ruby.

Development

# Start documentation dev server
pnpm dev

# Build the library
pnpm build

# Build documentation site
pnpm docs:build

# Lint
pnpm lint

Contributing

See the root Contributing Guide.

License

MIT © InsureMO