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

@froglet/ui

v1.0.0

Published

An open source, accessible React component library with full CSS custom property theming.

Downloads

13

Readme

@froglet/ui

Open source, brandless React component library. All visual styling is driven by CSS custom properties — no colors or brand opinions are built in. Bring your own design tokens.

  • React 19 + TypeScript
  • WCAG-compliant semantics and keyboard support
  • CSS custom property theming — no CSS-in-JS, no preprocessor required
  • Fully tree-shakeable

Docs: froglet.io

Installation

npm install @froglet/ui

Peer dependencies: React 19+.

Quick Start

import { Button, Input, GridContainer, GridItem } from "@froglet/ui";

function LoginForm() {
  return (
    <GridContainer columns={1} gap="1rem">
      <GridItem>
        <Input
          type="email"
          placeholder="[email protected]"
          className="input--brand"
        />
      </GridItem>
      <GridItem>
        <Button type="submit" className="button--primary">
          Sign in
        </Button>
      </GridItem>
    </GridContainer>
  );
}

Components

| Export | Element | Description | | -------------------- | -------------------------- | ---------------------------------------- | | Alert | <div role="alert"> | Contextual feedback messages | | AlertProps | — | TypeScript interface for Alert | | Badge | <span> | Short status indicators | | BadgeProps | — | TypeScript interface for Badge | | Box | <div> | Generic layout container | | BoxProps | — | TypeScript interface for Box | | Button | <button> | Interactive button element | | ButtonProps | — | TypeScript interface for Button | | Checkbox | <input type="checkbox"> | Custom-rendered checkbox | | CheckboxProps | — | TypeScript interface for Checkbox | | Collapse | <div> | Show/hide collapsible content | | CollapseProps | — | TypeScript interface for Collapse | | Dialog | <dialog> | Modal dialog overlay | | DialogProps | — | TypeScript interface for Dialog | | Divider | <hr> | Horizontal rule separator | | DividerProps | — | TypeScript interface for Divider | | GridContainer | <div> | CSS Grid layout container | | GridContainerProps | — | TypeScript interface for GridContainer | | GridItem | <div> | CSS Grid item with span controls | | GridItemProps | — | TypeScript interface for GridItem | | Input | <input> | Text-type input (text, email, password…) | | InputProps | — | TypeScript interface for Input | | Label | <label> | Form field label | | LabelProps | — | TypeScript interface for Label | | Link | <a> | Anchor element | | LinkProps | — | TypeScript interface for Link | | Progress | <div role="progressbar"> | Progress indicator | | ProgressProps | — | TypeScript interface for Progress | | Radio | <input type="radio"> | Custom-rendered radio button | | RadioProps | — | TypeScript interface for Radio | | Select | <select> | Dropdown select | | SelectProps | — | TypeScript interface for Select | | Switch | <button role="switch"> | Toggle switch | | SwitchProps | — | TypeScript interface for Switch | | Table | <table> | Semantic data table | | TableProps | — | TypeScript interface for Table | | Tabs | <div> | Tabbed content panels | | TabsProps | — | TypeScript interface for Tabs | | Textarea | <textarea> | Multi-line text input | | TextareaProps | — | TypeScript interface for Textarea | | Tooltip | <span> | Floating contextual tip | | TooltipProps | — | TypeScript interface for Tooltip |

Theming

Components expose CSS custom properties for all visual traits. Apply a modifier class to provide brand tokens:

.button--primary {
  --button-background-color: #2e8b57;
  --button-text-color: #ffffff;
  --button-border-color: #2e8b57;
  --button-border-radius: 6px;
  --button-border-width: 2px;
  --button-padding: 10px 20px;
  --button-background-color-hover: #245f45;
  --button-outline-color-focus: #5eba87;
  --button-outline-offset-focus: 3px;
  --button-background-color-disabled: #d3e9d7;
  --button-text-color-disabled: #7a9a7d;
  --button-border-color-disabled: #d3e9d7;
}
<Button className="button--primary">Save</Button>

See the CSS Composition guide for token naming conventions and the Modifier Classes guide for the general theming pattern. Full per-component token tables are at froglet.io/docs.

CSS Import

Styles are bundled. Import once at your application entry point:

import "@froglet/ui/styles";

Development

This package is part of the froglet-ui monorepo. To contribute:

git clone https://github.com/froglet-ui/ui.git
cd ui
npm install
npm run dev          # start Storybook
npm run test         # run tests
npm run lint         # lint
npm run check-types  # type check

License

MIT License