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

mds-storybook

v1.0.1

Published

mds storybook

Readme

Marketing Design System (MDS)

A themed React component library for marketing — dark mode by default, light mode via data-theme="light".

Stack

  • React 18 + TypeScript
  • Sass Modules
  • Storybook 8 + Vite

Getting started

npm install
npm run storybook     # dev server at localhost:6006
npm run build-storybook

Build outputs

npm run npm:build:lib
npm run npm:build:storybook
npm run npm:build:all
  • npm run npm:build:lib builds the consumable package into dist/.
  • npm run npm:build:storybook builds the Storybook display site into storybook-static/.
  • npm run npm:build:all builds both outputs.

The dist/ folder is the package output intended for consumption.

The storybook-static/ folder is the Storybook presentation build.

Publish scripts

npm run npm:pack:check
npm run npm:version:patch
npm run npm:publish
  • npm:pack:check previews the npm tarball before publishing.
  • npm:version:patch|minor|major bumps the package version.
  • npm:publish publishes the package.
  • npm:publish:public publishes a scoped package with public access.
  • npm:whoami confirms the logged-in npm account.

Remove "private": true from package.json before publishing, otherwise npm will refuse to publish the package.

Package usage

import { Animate, Accordion, AccordionItem, BackToTop, Button, Checkbox, Dropdown, Footer, Hamburger, Headline, Icon, Navbar, SmallIcon, SSOButton, Subhead, Tabs, TextField } from 'mds-storybook';
import 'mds-storybook/style.css';

Theming

Tokens live in src/styles/tokens.scss. All colors are CSS custom properties — switch themes by toggling html[data-theme="light"].

Components

Animate

  • animationAnimationName
  • duration?number
  • delay?number
  • childrenReactElement

Accordion

  • itemsAccordionItemData[]
  • autoCollapse?boolean
  • className?string

AccordionItem

  • titlestring
  • childrenReactNode
  • defaultOpen?boolean
  • isOpen?boolean
  • onToggle?() => void

Headline

  • size?HeadlineSize
  • as?HeadingElement
  • childrenReactNode
  • className?string

Subhead

  • size?SubheadSize
  • as?HeadingElement
  • childrenReactNode
  • className?string

Button

  • variant?ButtonVariant
  • platform?ButtonPlatform
  • size?ButtonSize
  • icon?IconName
  • iconPosition?'leading' | 'trailing'
  • disabled?boolean
  • onClick?() => void
  • childrenReactNode
  • className?string

Checkbox

  • size?CheckboxSize
  • indicatorPosition?CheckboxIndicatorPosition
  • indeterminate?boolean
  • children?ReactNode
  • className?string
  • extends InputHTMLAttributes<HTMLInputElement>

SSOButton

  • providerSSOProvider
  • label?string
  • fullWidth?boolean
  • extends ButtonHTMLAttributes<HTMLButtonElement>

Icon

  • nameIconName
  • size?IconSize
  • className?string

SmallIcon

  • nameSmallIconName
  • size?number
  • className?string

Dropdown

  • optionsDropdownOption[]
  • value?string | string[]
  • onChange?(value: string | string[]) => void
  • multiple?boolean
  • label?string
  • placeholder?string
  • required?boolean
  • disabled?boolean
  • clearable?boolean
  • supportingText?string
  • size?DropdownSize
  • id?string
  • className?string

TextField

  • label?string
  • required?boolean
  • error?string
  • supportingText?string
  • variant?TextFieldVariant
  • className?string
  • extends InputHTMLAttributes<HTMLInputElement>

BackToTop

  • show?boolean
  • label?string

Footer

  • showBackToTop?boolean
  • logos?LogoItem[]
  • legalStatement?string
  • externalLinks?ExternalLink[]
  • socialLinks?SocialLink[]

Hamburger

  • isOpen?boolean
  • onClick?() => void

Navbar

  • navItems?NavItem[]
  • breakpoint?NavbarBreakpoint
  • sticky?boolean
  • children?ReactNode

Tabs

  • itemsTabItem[]
  • value?string
  • defaultValue?string
  • onChange?(value: string) => void
  • size?'S' | 'L'
  • className?string