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

stencil-framer-components

v1.0.3

Published

Stencil Components built for Framer X

Readme

Built With Stencil

Framer X / StencilJS Components

This repository is an example of a few components based on the framer-bridge-starter-kit component library, but built entirely in StencilJS Web Components.

These components can be used within any Web Framework, but were designed to illustrate the workflow between maintaining a Web Component based Design System in Framer X.


Components

This package contains 4 main components:

<my-button />

A flexible button with multiple props to change the appearance.

| Property | Type | Description | Default | | -------- | --------- | --------------------- | -------------- | | text | string | Button text | Download App | | fluid | boolean | Width of button | true | | disabled | boolean | Button disabled state | false | | kind | enum | Button Kind | default |


<my-input />

An input field with props to change the appearance.

| Property | Type | Description | Default | | ----------- | --------- | -------------------- | ------- | | value | string | Input value | | | placeholder | string | Input placeholder | Email | | disabled | boolean | Input disabled state | false | | error | boolean | Input error state | false |


<my-toggle />

A usable toggle with props to change it's state.

| Property | Type | Description | Default | | -------- | --------- | --------------------- | ------- | | disabled | boolean | Toggle disabled state | false | | on | boolean | Toggle on state | false |


<my-tooltip />

A tooltip with props to change the appearance.

| Property | Type | Description | Default | | -------- | --------- | ------------------- | ----------- | | arrow | enum | Arrow direction | left | | text | string | Tooltip text | Component | | error | boolean | Tooltip error state | false |


Using Components

Follow the steps below to use them in your project.

Script Tag in HTML

  1. Put this tag <script src='https://unpkg.com/stencil-framer-components/dist/framerxcomponents.js'></script> in the head of your index.html. You can use a different version by specifiying the verion following this doc.
  2. Use the custom elements listed above anywhere in your template, JSX, HTML, etc.

Framer X

Check out this starter kit to learn more about how these components are maintained in Framer X, and see a working example of these living in a Framer X project.

Framer X uses React under the hood, but that doesn't mean you can't use you custom Web Components. The easiest way to include your components in Framer X is to add the script tag through a custom React Hook. If you're new to React, a good place to start is here.

  1. Add this Gist to the code folder of your Framer X Project.
  2. Add the custom hook + script URL to your component file. The script URL for these components is "https://unpkg.com/stencil-framer-components/dist/framerxcomponents.js".
  3. Use the custom elements in the render body of the Component.

Node_Modules

  1. Run npm install stencil-framer-components --save
  2. Import the StencilJS component into the file you wish to use it in by adding import my-button from "stencil-framer-components" at the top.
  3. Use the custom elements listed above anywhere in your template, JSX, HTML, etc.