github lucasmarkes/hairline v0.1.0

latest releases: v0.5.1, v0.5.0, v0.3.0...
one month ago

First release.

Added

  • Six isometric line figures, each a function that draws into an element:
    riffle, terrain, exploded, phosphor, slow, turntable.
  • A React entry, @lucasmarkes/hairline/react, with one component per figure.
    It is a client module, so it can be rendered from a Server Component.
  • An intensity option on every figure, from 0 (subtle) to 1 (strong).
  • Theming with six CSS custom properties (--hairline-plate, --hairline-hi,
    --hairline-edge, --hairline-mid, --hairline-lo, --hairline-stroke),
    a theme option, and automatic light and dark.
  • A shadcn registry item at https://hairline.lucasmarkes.com/r/hairline.json.

Don't miss a new hairline release

NewReleases is sending notifications on new releases.