@thi.ng/hdom-components

@thi.ng/hdom-components

npm versionnpm downloads Mastodon Follow

[!NOTE] This is one of 190 standalone projects, maintained as part of the @thi.ng/umbrella monorepo and anti-framework.

🚀 Please help me to work full-time on these projects by sponsoring me on GitHub. Thank you! ❤️

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

Search or submit any issues for this package

Installation

yarn add @thi.ng/hdom-components

ES module import:

<script type="module" src="https://cdn.skypack.dev/@thi.ng/hdom-components"></script>

Skypack documentation

For Node.js REPL:

const hdomComponents = await import("@thi.ng/hdom-components");

Package sizes (brotli'd, pre-treeshake): ESM: 2.05 KB

Dependencies

Usage examples

Several projects in this repo's /examples directory are using this package:

ScreenshotDescriptionLive demoSource
Figlet-style bitmap font creation with transducersDemoSource
Canvas based dial widgetDemoSource
2D transducer based cellular automataDemoSource
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 for hdomDemoSource
Custom dropdown UI component w/ fuzzy searchDemoSource
Customizable slide toggle component demoDemoSource
Worker based, interactive Mandelbrot visualizationDemoSource
Triple store query results & sortable tableDemoSource
WebGL cube maps with async texture loadingDemoSource

API

Generated API docs

Canvas

Form elements

Links

Other

Authors

If this project contributes to an academic publication, please cite it as:

@misc{thing-hdom-components,
title = "@thi.ng/hdom-components",
author = "Karsten Schmidt",
note = "https://thi.ng/hdom-components",
year = 2018
}

License

© 2018 - 2024 Karsten Schmidt // Apache License 2.0

Generated using TypeDoc