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

mealmate-ui

v1.0.3

Published

A reusable StencilJS web component library for recipe and meal planning applications

Readme

MealMate UI Components

NPM Version License

MealMate UI is a beautifully crafted, standalone Web Component library designed specifically for recipe, food, and meal-planning applications. Built with StencilJS, these components are blazing fast, highly customizable, and completely framework-agnostic—meaning you can use them seamlessly in Svelte, React, Vue, Angular, or plain HTML.

📦 Installation

To use this component library in your project, install it via NPM:

npm install mealmate-ui

🚀 Getting Started

Using with SvelteKit (or other modern frameworks)

In your main layout file or entry point (e.g., +layout.svelte or index.js), import and call the component loader:

import { defineCustomElements } from 'mealmate-ui/loader';

// Register the custom elements with the browser
defineCustomElements();

Using via CDN (Plain HTML)

If you prefer not to use a bundler, you can drop a script tag directly into your HTML file:

<script type="module" src="https://unpkg.com/mealmate-ui/dist/mealmate-ui/mealmate-ui.esm.js"></script>

🧩 Available Components

<recipe-card>

A beautiful, responsive card for displaying recipe thumbnails, titles, and categories. Includes built-in support for favoriting recipes.

<recipe-card 
  recipe-title="Delicious Pasta"
  recipe-category="Italian"
  recipe-image="https://example.com/pasta.jpg"
  is-favorite="true">
</recipe-card>

<recipe-search>

A fully-featured search bar with integrated dropdown filters for categories and cuisines.

<recipe-search 
  placeholder="Search recipes..."
  categories='["Breakfast", "Dessert", "Pasta"]'
  selected-category="Pasta">
</recipe-search>

<meal-day-slot>

A specialized interactive slot component used for meal planners to drop or assign recipes to specific times of day.

<meal-day-slot 
  day-name="Monday" 
  meal-type="Breakfast" 
  is-empty="false" 
  recipe-name="Oatmeal">
</meal-day-slot>

<tag-badge>

A small, stylized badge component for displaying categories, dietary requirements, or tags.

<tag-badge label="Vegan" variant="category"></tag-badge>

🎨 Customization (CSS Variables)

MealMate UI uses CSS Custom Properties (Variables) for easy theming. You can override the default colors and sizing by targeting the components in your global CSS:

:root {
  --mealmate-bg: #1e1e2e;
  --mealmate-text-primary: #ffffff;
  --mealmate-accent: #f59e0b; /* Orange/Amber */
  --mealmate-card-radius: 12px;
}

📄 License

This project is licensed under the MIT License.