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

ember-select-spark

v0.1.0

Published

A simple way to use and style <select> with Ember Sparks.

Downloads

2

Readme

{{select-spark}}

A simple way to use <select>

http://ember-sparks.com/


Installation and usage

Install the Ember Sparks addon (this component is part of the standard library):

ember install ember-sparks

Now restart your Ember app and drop the component in there!

{{select-spark}}

Properties

| Name | Type | Default | Description | |-------------|-----------------|---------|------------------------------------------------------------------| | options | array | null | A list of options that the user can select. The array can either contain just strings, or objects with the keys value and label (recommended). | | selected | string | null | The default selected option. Must match one of your options' value. | | disabled | boolean | false | Determine whether the user can interact with the select box or not. |

Actions

| Name | Description | |-------------|--------------------------------------------------| | onChange | Triggers when the user selects a new value. |

Block version

If you use the component as a block, you can set an icon for it (this icon could also change depending on what the user selects)

{{#select-spark}}
  <svg></svg>
{{/select-spark}}

Theming

To see these examples in action, check out the interactive documentation.

Important! All classes are local in order to avoid naming collisions and unintended CSS side effects. To understand how to style them, check out the Ember Sparks documentation.

  • .select

    Style the select box. When using the block version of the components, the class .has-icon will be appended to it.

    Example:

    .select {
      background: linear-gradient(to bottom, white, #F1F5F9);
      border: 1px solid #AEBEC8;
      border-radius: 6px;
      box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
      color: #586576;
    }
  • .arrow

    Style the arrow on the right side of the select box.

    Example:

    .select {
      border-width: 9px;
      border-top-color: red;
    }

Contributing

Check out the guidelines at http://ember-sparks.com/docs#contribute