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

superdesk-ui-framework

v6.1.2

Published

[![Build Status](https://github.com/superdesk/superdesk-ui-framework/actions/workflows/test.yml/badge.svg)](https://github.com/superdesk/superdesk-ui-framework/actions/workflows/test.yml) [![Netlify Status](https://api.netlify.com/api/v1/badges/baf374b3-b

Downloads

11,317

Readme

Superdesk UI Framework

Status

Build Status Netlify Status

Documentation

Documentation page can be accessed via this link: https://ui-framework.superdesk.org/

Install and connect

To install the package via npm use

npm install --save superdesk-ui-framework

After installation, the ui-framework distributive files will be available as

import 'superdesk-ui-framework'

To use it in your angular-app you should add the module (modules)

angular.module('application', ['superdesk-ui'])

React modules

To import react modules in your application, just use

import {LineInput} from 'superdesk-ui-framework'

Storybook

The project includes Storybook 10 for interactive component development and documentation, integrated with the main documentation site.

Running Storybook

# Start Storybook in standalone development mode (with hot reload)
npm run storybook

# Build static Storybook for deployment
npm run build-storybook

# Copy Storybook to dist directory (included in main build)
npm run copy-storybook

Accessing Storybook

Development mode (npm start):

  • Main docs: http://localhost:9100/
  • Navigate to Storybook section in the main navigation
  • Or access directly: http://localhost:9100/storybook/index.html

Standalone mode (npm run storybook):

  • http://localhost:6006/

Integrated Deployment

Storybook is fully integrated with the main documentation site:

  • npm run build automatically builds and copies Storybook to dist/storybook/
  • Accessible as a 5th section in the main navigation
  • Opens in a new tab, keeping main docs accessible
  • Single deployment artifact includes both docs and Storybook

Features

  • Interactive component playground with live prop editing
  • Automatic documentation generation from TypeScript types
  • Accessibility testing with built-in a11y addon
  • Responsive design testing with viewport controls
  • Full SCSS styling support

Creating Stories

For guidance on migrating components to Storybook, see STORYBOOK_MIGRATION.md.

Example story structure:

import type {Meta, StoryObj} from '@storybook/react';
import {YourComponent} from './YourComponent';

const meta = {
    title: 'Components/YourComponent',
    component: YourComponent,
    tags: ['autodocs'],
} satisfies Meta<typeof YourComponent>;

export default meta;
type Story = StoryObj<typeof meta>;

export const Playground: Story = {
    args: {
        // Your component props
    },
};

See app-typescript/components/Button.stories.tsx for a complete reference implementation.

Contributing

  1. Fork repo https://github.com/superdesk/superdesk-ui-framework
  2. Clone git clone https://github.com/superdesk/superdesk-ui-framework
  3. npm install to install dependencies
  4. npm start to run server locally
  5. Files are served on localhost:9100

Creating playgrounds

  1. Create new your-playground.html file in examples/playgrounds
  2. Define new settings for your playground in examples/index.js:
.when('/playground/your-playground', {
    title: 'My Playground',
    playground: 'main', // can be publisher or react also
    template: require('../examples/playgrounds/your-playground.html')
})
  1. Open your playground in browser

Continuous Development

If you want to develop new components and see live changes on your project, you need to link superdesk-ui-framework with your project.

  1. In superdesk-ui-framework project folder run npm link
  2. In your project folder run npm link superdesk-ui-framework
  3. Start superdesk-ui-framework with npm run server command.
  4. All changes on superdesk-ui-framework project are now automatically updated in your project

Testing

Runing e2e&unit tests

npm run lint