Collection of unstyled, customizable components for @thi.ng/rdom
npm install @thi.ng/rdom-components
!npm downloads

> [!NOTE]
> This is one of 214 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
- Status
- Related packages
- Installation
- Dependencies
- Usage examples
- API
- Authors
- License
Collection of unstyled, customizable components for @thi.ng/rdom.
Currently, this package provides:
- Accordion
- Dropdown
- Editor
- Icon button
- Tabs
ALPHA - bleeding edge / work-in-progress
Search or submit any issues for this package
- @thi.ng/rdom-canvas - @thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing
``bash`
yarn add @thi.ng/rdom-components
ESM import:
`ts`
import * as rc from "@thi.ng/rdom-components";
Browser ESM import:
`html`
Package sizes (brotli'd, pre-treeshake): ESM: 1.43 KB
- @thi.ng/api
- @thi.ng/hiccup-html
- @thi.ng/object-utils
- @thi.ng/rdom
- @thi.ng/rstream
- @thi.ng/strings
- @thi.ng/transducers
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
Six projects in this repo's
/examples
directory are using this package:
| Screenshot | Description | Live demo | Source |
|:---------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------|:----------------------------------------------------------|:---------------------------------------------------------------------------------------|
|
| Figlet-style bitmap font creation with transducers | Demo | Source |
|
| Probabilistic color theme generator | Demo | Source |
|
| Parser grammar livecoding editor/playground & codegen | Demo | Source |
|
| Procedural stochastic text generation via custom DSL, parse grammar & AST transformation | Demo | Source |
|
| Multi-layer vectorization & dithering of bitmap images | Demo | Source |
|
| rdom & WebGL-based image channel editor | Demo | Source |
TODO
If this project contributes to an academic publication, please cite it as:
`bibtex``
@misc{thing-rdom-components,
title = "@thi.ng/rdom-components",
author = "Karsten Schmidt",
note = "https://thi.ng/rdom-components",
year = 2020
}
© 2020 - 2026 Karsten Schmidt // Apache License 2.0