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

@tal-gel/atoms

v0.5.0

Published

Atom components in TAL-GEL

Readme

Button Component

import React from 'react';
import { ThemeProvider } from '@tal-gel/theming';
import { Button } from '@tal-gel/atoms';

const demo = () => {
  return (
    <!-- Default theme is used by default -->
    <ThemeProvider>
      <!-- 
        Available Config Options (can be mixed and matched):
          - primary: indicates a primary button
          - secondary: indicates a secondary button
          - tertiary: indicates a tertiary button

          - large: indicates a large button
          - medium: indicates a medium button
          - small: indicates a small button

          - icon: indicates an `icon` button (no text)
          - iconLeft: indicates an `icon + text` button
          - iconRight: indicates a `text + icon` button
          (A complete list of icon names will be available later)

          - inverse: indicates an inverse button
          - error: indicates an error button
          - disabled: indicates a disabled button
          - stretch: indicates that the button should span the whole container width
      -->
      <!-- Some examples... -->
      <Button primary large>Button 1</Button>
      <Button secondary icon="ArrowRight" medium/>
      <Button tertiary small inverse iconLeft="ArrowLeft">Button 3</Button>
      <Button primary medium error>Button 4</Button>
      <Button secondary large inverse error>Button 5</Button>
      <Button tertiary medium stretch iconRight="Add">Button 6</Button>
      <Button primary small stretch error>Button 7</Button>
      <Button secondary medium disabled>Button 8</Button>
    </ThemeProvider>
  );
}

Link Component

import React from 'react';
import { ThemeProvider } from '@tal-gel/theming';
import { Link } from '@tal-gel/atoms';

const demo = () => {
  return (
    <!-- Default theme is used by default -->
    <ThemeProvider>
      <!-- 
        - underlineThickness: indicates the thickness of text underline (default: 1px) 
        - disabled: indicates a disabled link
      -->
      <!-- Some examples... -->
      <h2>I am an h2 <Link underlineThickness="2">link in h2</Link> I am an h2</h2>
      <p>I am a paragraph <Link disabled>disabled link in p</Link> I am a paragraph</p>
      <Link>link</Link>
      <span>I am a span <Link>link in span</Link> I am a span</span>
    </ThemeProvider>
  );
}

Versions

  1. 0.1.0: Initial button component added
  2. 0.2.0: SVG filters and SVG scaling
  3. 0.3.0: Initial link component added
  4. 0.3.1: Button and Link component refactored
  5. 0.4.0: Dynamic generation of svg filters from hex values
  6. 0.5.0: Checkbox, ButtonGroup, Radio, RadioGroup, Icon components added