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

@smst/edu-tools

v2.2.1

Published

A comprehensive collection of educational tools and utilities as reusable React components with zero-config auto-discovery

Readme

@smst/edu-tools

A comprehensive collection of educational tools and utilities as reusable React components

npm version License: MIT

A modern, lightweight, and fully-featured library of educational tools built with React. Perfect for building educational platforms, learning management systems, or any application that needs interactive educational components.

✨ Features

  • 🎨 15 Ready-to-Use Tools - From calculators to equation editors
  • 🔌 Zero Configuration - Import and use immediately
  • 📦 Tree-Shakeable - Only bundle what you use
  • 🎯 TypeScript Support - Full type definitions included
  • 🎭 Modern UI - Beautiful, responsive components with Tailwind CSS
  • Accessible - Built with accessibility in mind
  • 🪟 Draggable Windows - Optional window management system

📦 Installation

npm install @smst/edu-tools

Requirements

Peer Dependencies (you need to install these):

npm install react react-dom

Bundled Dependencies (installed automatically, no action needed):

  • framer-motion - Animations
  • zustand - State management
  • react-rnd - Drag and resize
  • lucide-react - Icons
  • mathlive - Equation editor
  • ✅ And more...

That's it! Everything else is included.

🚀 Quick Start

For Next.js (Recommended)

Create a client component:

"use client";

import { ToolsDock } from "@smst/edu-tools";
import "@smst/edu-tools/styles";

export default function App() {
  return (
    <div>
      <h1>My Educational App</h1>
      <ToolsDock />
    </div>
  );
}

For React (Vite, CRA, etc.)

import { ToolsDock } from "@smst/edu-tools";
import "@smst/edu-tools/styles";

function App() {
  return (
    <div>
      <h1>My Educational App</h1>
      <ToolsDock />
    </div>
  );
}

What you get:

  • ✅ All 15 educational tools
  • ✅ Draggable, resizable windows
  • ✅ Bottom dock with tool buttons
  • ✅ Theme toggle
  • ✅ Beautiful UI with proper styling
  • ✅ Zero configuration required

⚙️ Configuration (Optional)

ToolsDock works out of the box. When you need control, pass props to choose tools, override labels/window settings, or set theme behavior.

Props

  • tools?: ToolId[] — choose and order tools to display
  • overrides?: Record<ToolId, { label?: string; window?: Partial<CreateWindowParams> }>
  • theme?: { initial?: 'light' | 'dark' | 'system'; persist?: boolean }

Supported ToolId values: "setsquare" | "tts" | "todo" | "calculator" | "periodic" | "ruler" | "protractor" | "equation" | "magnifier" | "geogebra" | "dictionary" | "browser" | "context7" | "askai" | "annotator".

Example: pick tools and order

import { ToolsDock } from "@smst/edu-tools";
import "@smst/edu-tools/styles";

export default function App() {
  return <ToolsDock tools={["equation", "calculator", "ruler", "annotator"]} />;
}

Example: override labels and window settings

<ToolsDock
  tools={["equation", "periodic", "ruler", "tts"]}
  overrides={{
    equation: {
      label: "Math",
      window: {
        initialBounds: { width: 820, height: 540, x: 120, y: 120 },
        minWidth: 800,
        minHeight: 520,
      },
    },
    ruler: {
      label: "Measure",
      window: { isFrameless: true, isResizable: false },
    },
  }}
/>

Example: theme initialization and persistence

<ToolsDock
  theme={{
    initial: "system", // 'light' | 'dark' | 'system'
    persist: true, // save last choice in localStorage (default: true)
    showToggle: true, // show/hide theme button in dock (default: true)
  }}
/>

Example: combine everything

<ToolsDock
  tools={["equation", "calculator", "periodic", "dictionary"]}
  theme={{ initial: "dark", persist: false }}
  overrides={{
    dictionary: {
      label: "Lexicon",
      window: { initialBounds: { width: 560, height: 520, x: 160, y: 160 } },
    },
  }}
/>

🧰 Available Tools

Math & Science

  • Calculator - Full-featured calculator with keyboard support
  • EquationEditor - LaTeX-based mathematical equation editor powered by MathLive
  • PeriodicTable - Interactive periodic table of elements
  • Protractor - Rotatable protractor for angle measurement
  • Ruler - Interactive ruler with inches and centimeters
  • SetSquare - Drawing tool for geometry
  • GeoGebra - Interactive geometry and graphing tool

Productivity

  • Todo - Task management component
  • Magnifier - Text magnification tool for accessibility
  • TTSReader - Text-to-speech functionality
  • Browser - Embedded browser component
  • Dictionary - Word lookup and definitions
  • Annotator - Text annotation and highlighting tool

AI & Learning

  • AskAI - AI assistant interface for answering questions
  • Context7 - Integrated documentation browser

💡 How It Works

The ToolsDock automatically includes:

  1. Bottom Dock Bar - Shows all tool icons, click to open any tool
  2. Draggable Windows - Each tool opens in a resizable, movable window
  3. Window Management - Close, minimize, bring to front automatically handled
  4. Theme Toggle - Built-in dark/light mode switcher
  5. Responsive UI - Works on all screen sizes

That's it! No configuration, no props, no setup required.

🎨 Styling

The styles are included when you import @smst/edu-tools/styles. The package includes:

  • Professional UI - Clean, modern design
  • Dark/Light themes - Built-in theme switcher
  • Responsive layout - Works on desktop, tablet, and mobile
  • Custom CSS - You can override styles with your own CSS if needed

All styling is self-contained - no conflicts with your existing styles.

🔧 TypeScript Support

Full TypeScript definitions are included:

import { ToolsDock } from "@smst/edu-tools";
// Types are automatically available

🌐 Browser Support

  • Chrome/Edge (latest 2 versions)
  • Firefox (latest 2 versions)
  • Safari (latest 2 versions)
  • Mobile browsers (iOS Safari, Chrome Mobile)

🤝 Contributing

We welcome contributions! See DEVELOPMENT.md for developer documentation.

📄 License

MIT © SMST

🔗 Links

💬 Support


Made with ❤️ for educators and learners

⭐ Star us on GitHub | 📦 Install from NPM