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

design-system-for-cradlepoint-wp

v1.1.4

Published

Cradlepoint Design System

Readme

Cradlepoint Design System for WordPress

A WordPress-optimized web component library for Cradlepoint websites and applications. This package provides web components that can be easily integrated into WordPress themes and plugins.

Installation

Manual Installation

  1. Download the latest release from the GitHub repository
  2. Extract the files to your WordPress theme or plugin directory
  3. Enqueue the scripts and styles in your theme or plugin
// In your theme's functions.php or plugin file
function enqueue_cradlepoint_components() {
    // Enqueue the main component library
    wp_enqueue_script(
        'cradlepoint-components',
        get_template_directory_uri() . '/path/to/cradlepoint-wp/dist/cradlepoint-wp.js',
        array(),
        '2.0.0',
        true
    );
    
    // Enqueue the styles
    wp_enqueue_style(
        'cradlepoint-styles',
        get_template_directory_uri() . '/path/to/cradlepoint-wp/dist/css/global.css',
        array(),
        '2.0.0'
    );
}
add_action('wp_enqueue_scripts', 'enqueue_cradlepoint_components');

NPM Installation

npm install design-system-for-cradlepoint-wp

Then require or import the components and styles in your build process.

Usage

Basic Usage in Templates

Once the components are properly enqueued, you can use them directly in your WordPress templates or content:

<!-- Button example -->
<cradlepoint-button-cta link="https://example.com" text-color="#ffffff" background-color="#0066cc">
    Click Me
</cradlepoint-button-cta>

<!-- Card example -->
<cradlepoint-card-bg background-color="#f5f5f5" text-color="#333333">
    <h3>Card Title</h3>
    <p>Card content goes here</p>
</cradlepoint-card-bg>

With Gutenberg Blocks

You can also integrate these components with Gutenberg blocks to provide a visual editing experience. A sample block implementation would use the web components in its save() function.

Available Components

This library includes all the Cradlepoint design system components, optimized for WordPress:

  • Buttons (CTA, Simple)
  • Cards (Background, Image-Title-Text, Quote, Simple)
  • Layout components (Container, Container Stack, 50/50)
  • Navigation (Nav, Nav Main, Nav Lang)
  • Heroes and Banners
  • And more...

Development

Building the Package

npm run build

Running Storybook for Component Exploration

npm run storybook:dev

WordPress Integration Examples

Check the /examples directory for WordPress integration examples including:

  • Basic theme integration
  • Gutenberg block implementations
  • Plugin usage examples
  • Shortcode examples

License

MIT