Component library

Handfish

Handfish is an accessible component library for creative tools, built with Web Components and CSS custom properties. It loads from a CDN with no build step.

  • Free
  • MIT license
  • Web Components
  • No build step

Overview

Handfish is the design system of the Noise Factor apps. It provides the controls that creative tools need, such as sliders, knobs, color pickers, gradient editors, and vector pickers, as standard Web Components that work with any framework or with none.

Styling comes from CSS custom properties with the --hf- prefix. Colors are defined in OKLCH, the library follows the system light or dark setting, and named themes change the whole palette with one attribute.

Features

Specifications

PlatformsWeb browsers
TechnologyWeb Components, CSS custom properties, ES modules
DistributionCDN at https://handfish.noisefactor.io/0/; npm package name @noisedeck/handfish
Components20+ exported components and component groups
ThemesLight, dark, and a selection of named themes
Sourcegithub.com/noisefactorllc/handfish
LicenseMIT
PriceFree

Get started

  1. Add the tokens stylesheet: <link rel="stylesheet" href="https://handfish.noisefactor.io/0/styles/tokens.css">.
  2. Import the components: import 'https://handfish.noisefactor.io/0/handfish.esm.min.js'.
  3. Use the elements in your HTML and style them with --hf- tokens.
  4. Browse the examples for each component.

Resources

Questions

Does Handfish need a framework?
No. Handfish components are standard Web Components. They work in plain HTML and with any framework.
How do I theme Handfish?
Override the --hf- CSS custom properties, or set a named theme with the data-theme attribute on the html element.
Which version does the CDN serve?
The /0 channel serves the latest release in major version 0. Pin a specific version path only if you need to freeze it.