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

accessibility-kit

v0.2.12

Published

An advanced and customizable accessibility UI component designed to enhance the user experience on websites by providing users with multiple options to adjust the interface for improved accessibility. Built with **React**, **TypeScript**, **Tailwind CSS**

Readme

🛠️ accessibility-kit

A fully-featured, customizable React accessibility component that integrates easily into any modern web application. Built with Tailwind CSS and Ant Design, accessibility-kit empowers users to personalize their browsing experience — from adjusting font size and contrast to hiding images and highlighting links.


🚀 Features

✅ Font size, letter spacing, line height, word spacing controls
✅ Text alignment: left, center, right, justify
✅ High contrast and grayscale modes
✅ Big cursor toggle
✅ Hide images for reduced visual clutter
✅ Highlight all links
✅ One-click reset to default settings
✅ Supports className prop for full theme customization (Tailwind or CSS)


📦 Installation

Install with your preferred package manager:

# npm
npm install accessibility-kit

# or pnpm
pnpm add accessibility-kit

⚙️ Usage

Basic usage with the default settings and full customization:

⚠️ Important: For cleaner structure and reusability, this component should live in its own file — e.g., accessibility.tsx.

💡 If you're using Next.js, don't forget to include 'use client' at the top of the file.

The component accepts props to customize labels and text, which makes it easy to include translations or other customizations.

// accessibility.tsx
"use client";
import { AccessibilityProvider, AccessibilityUI } from "accessibility-kit";
import "accessibility-kit/build/styles.css";

export function Accessibility() {
  return (
    <AccessibilityProvider>
      <AccessibilityUI
        props={{
          accessibilityTitle: "Accessibility Settings",
          alignment: "Alignment",
          justify: "Justify",
          left: "Left",
          center: "Center",
          right: "Right",
          adjustments: "Adjustments",
          fontSize: "Font Size",
          letterSpacing: "Letter Spacing",
          lineHeight: "Line Height",
          wordSpacing: "Word Spacing",
          contrasts: "Contrast",
          resetContrast: "Reset",
          moreTools: "More Tools",
          hideImage: "Hide Image",
          bigCursor: "Big Cursor",
          highlightLinks: "Highlight Links",
          resetAlignments: "Reset Alignments",
          reset: "Reset All Settings",
          className: "custom-access-button",
        }}
      />
    </AccessibilityProvider>
  );
}

🎨 Custom Styling

You can customize the appearance by passing className prop:

<AccessibilityUI  className: "custom-access-button" />
.accessibility-kit-roo,
.custom-access-button button {
  background: red !important;
}

.accessibility-kit-roo,
.button-btn .active-btn {
  background: #03313e !important;
}

.accessibility-kit-roo,
.button-active .enabled-btn {
  background: #03313e !important;
}

.accessibility-kit-roo,
.sidenav {
  background: #ffb09a !important;
}

.accessibility-kit-roo,
.ant-drawer-header {
  background: #feefe3 !important;
}

💡 Note: You can further customize the component by accessing and styling its nested child elements. Feel free to explore and style them as needed!


🗃️ Folder Structure (for contributors)

accessibility-kit/
├── src/
│   ├── components/          # React components
│   ├── context/             # Context providers
│   ├── utils/               # Utility functions
│   └── styles/              # Tailwind/CSS files
├── dist/                    # Built output (excluded from source control)
├── package.json
└── rollup.config.js         # Rollup bundler config

🧱 Tech Stack

This package is built with the following tools:

  • React ^19.1.0
  • Next.js ^15.3.2
  • Ant Design (antd) ^5.24.9
  • Tailwind CSS ^3.4.17
  • TypeScript ^4.9.5
  • ant ^0.2.0 (icon integration)

📤 Publishing (internal)

Make sure dist/ is built before publishing to npm:

npm run build
npm publish

Your package.json should include:

"files": ["dist", "build/styles.css"]

⚠️ If you use the files field in your package.json, it takes precedence over .gitignore and .npmignore.
This means you can safely keep dist/ out of your git repo (by listing it in .gitignore), and it will still be included in your npm package if you specify it in files.


🤝 Contributing

Contributions are welcome!

  1. Fork the repo
  2. Create a new branch:
    git checkout -b feature/your-feature
  3. Commit your changes:
    git commit -m "Add: your feature"
  4. Push to GitHub:
    git push origin feature/your-feature
  5. Open a pull request 📬

❓ Questions or Issues?

Feel free to open an issue or reach out to the maintainers.