Options
All
  • Public
  • Public/Protected
  • All
Menu

@thi.ng/hdom-components

hdom-components

npm versionnpm downloads Twitter Follow

This project is part of the @thi.ng/umbrella monorepo.

About

Raw, skinnable UI & SVG components for @thi.ng/hdom.

A growing collection of unstyled, re-usable & customizable components for use with @thi.ng/hdom & @thi.ng/hiccup.

Please see ADR-0002 and onwards for detailed discussion about the design intentions of these components. Feedback welcome!

Status

BETA - possibly breaking changes forthcoming

Installation

yarn add @thi.ng/hdom-components
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/hdom-components?module" crossorigin></script>

// UMD
<script src="https://unpkg.com/@thi.ng/hdom-components/lib/index.umd.js" crossorigin></script>

Package sizes (gzipped, pre-treeshake): ESM: 2.25 KB / CJS: 2.37 KB / UMD: 2.37 KB

Dependencies

Usage examples

Several demos in this repo's /examples directory are using this package.

A selection:

ScreenshotDescriptionLive demoSource
Canvas based dial widgetDemoSource
Basic crypto-currency candle chart with multiple moving averages plotsDemoSource
hdom update performance benchmark w/ config optionsDemoSource
Various hdom-canvas shape drawing examples & SVG conversion / exportDemoSource
Custom dropdown UI component w/ fuzzy searchDemoSource
Customizable slide toggle component demoDemoSource
Worker based, interactive Mandelbrot visualizationDemoSource
Triple store query results & sortable tableDemoSource

API

Generated API docs

Canvas

Form elements

Links

Other

Authors

Karsten Schmidt

License

© 2018 - 2020 Karsten Schmidt // Apache Software License 2.0

Generated using TypeDoc