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

@otaga/web-ui-kit

v1.0.8

Published

Premium, editorial-style UI Kit for React and Next.js — no react-native required.

Readme

@otaga/web-ui-kit

A premium, editorial-style UI Kit for React and Next.js. The web counterpart to @otaga/rn-ui-kit — no React Native dependency required.

Installation

npm install @otaga/web-ui-kit

Peer dependencies (install if not already present):

npm install react react-dom

Components

Navigation

| Component | Description | | :--- | :--- | | Sidebar | Animated slide-in drawer with item list and active-state highlighting | | BottomBar | Floating pill-shaped navigation bar with smooth active transitions | | BottomSheet | Gesture-driven modal sheet with configurable snap points | | SegmentedControl | Pill-shaped multi-option selector | | Dock | macOS-style icon dock with magnification on hover | | ExpandedTabs | Tab strip that expands the active tab with icon and label |

Display & Layout

| Component | Description | | :--- | :--- | | CardCarousel | Horizontally scrollable card carousel | | ImageCarousel | Image carousel with person/avatar cards | | ImageSwiper | Full-screen swipeable image viewer | | InfiniteGrid | Auto-scrolling infinite grid of items | | InfiniteDraggableGrid | Infinite grid with drag-to-reorder support | | FlipCard | Two-sided card with flip animation | | ChatBotCard | Floating chatbot UI card | | BrutalistTaskCard | High-contrast brutalist-style task tracker card |

Forms & Auth

| Component | Description | | :--- | :--- | | LoginForm | Clean email/password login form | | PurpleLoginForm | Login form with purple accent styling | | DarkLoginBox | Dark-themed compact login box | | AuthFlipCard | Login/register form inside a flip card | | WelcomeBackForm | Welcome-back login with animated greeting | | SignInCard | Minimal card-style sign-in component | | SubscribeCard | Email subscription form card |

Actions

| Component | Description | | :--- | :--- | | CartButton | "Swipe-to-Add" morphing add-to-cart button | | BuyButton | "Swipe-to-Buy" slider for high-conversion checkout | | FileUpload | Drag-and-drop and click-to-upload file input | | Collapsible | Animated expandable/collapsible content section |

Primitives

| Component | Description | | :--- | :--- | | ThemedText | Text component with automatic light/dark theming | | ThemedView | View wrapper with automatic light/dark background | | Icon | Comprehensive icon component (ALL_ICONS, ICON_CATEGORIES) |

Usage Examples

BottomBar

import { BottomBar } from '@otaga/web-ui-kit';

<BottomBar
  tabs={[
    { id: 'home', icon: 'house', label: 'Home' },
    { id: 'explore', icon: 'search', label: 'Explore' },
    { id: 'profile', icon: 'person', label: 'Profile' },
  ]}
  activeTab={activeTab}
  onTabPress={(id) => setActiveTab(id)}
/>

| Prop | Type | Description | | :--- | :--- | :--- | | tabs | BottomBarTab[] | Array of { id, icon, label } objects | | activeTab | string | ID of the currently active tab | | onTabPress | (id: string) => void | Called when a tab is pressed | | backgroundColor | string | Bar background color | | activeBackgroundColor | string | Pill background when active (default: #000) | | activeTintColor | string | Icon/text color when active (default: #fff) | | inactiveTintColor | string | Icon color when inactive |


CartButton

import { CartButton } from '@otaga/web-ui-kit';

<CartButton
  label="Add to Bag"
  color="#000"
  onAddToCart={() => console.log('Added!')}
  onBagPress={() => console.log('Open bag')}
/>

| Prop | Type | Description | | :--- | :--- | :--- | | label | string | Button text | | color | string | Button background color | | onAddToCart | function | Called after a successful swipe | | onBagPress | function | Called when the secondary bag icon is pressed |


BuyButton

import { BuyButton } from '@otaga/web-ui-kit';

<BuyButton
  label="Slide to Purchase"
  color="#1a1a1a"
  onBuy={() => console.log('Purchased!')}
/>

| Prop | Type | Description | | :--- | :--- | :--- | | label | string | Prompt text for the slider | | color | string | Slider background color | | onBuy | function | Called when the slider reaches the end | | height | number | Slider height in px (default: 62) |


BottomSheet

import { BottomSheet } from '@otaga/web-ui-kit';

<BottomSheet
  visible={isOpen}
  onClose={() => setIsOpen(false)}
  snapPoints={[300, 600]}
>
  <YourContent />
</BottomSheet>

| Prop | Type | Description | | :--- | :--- | :--- | | snapPoints | number[] | Heights (px) the sheet can snap to | | visible | boolean | Controls sheet visibility | | onClose | function | Called when swiped down to close | | persistent | boolean | If true, stays visible at the minimum snap point |


Theme Utilities

import { Colors, Fonts, useColorScheme } from '@otaga/web-ui-kit';

const scheme = useColorScheme(); // 'light' | 'dark'
const bg = Colors[scheme].background;
const font = Fonts.sans;

License

MIT