Web Component library for the dappco.re stack. Unstyled but opinionated.
<core-data-table src="/v1/users" live>
<core-column field="name" label="Name" sortable></core-column>
<core-column field="size" label="Size" pipe="bytes"></core-column>
<core-column field="created_at" label="Joined" pipe="date:relative"></core-column>
<core-column field="balance" label="Credit" pipe="currency:GBP"></core-column>
</core-data-table>- Browser-native Web Components — no framework dependency
- Light DOM +
::part()+ CSS custom properties — tokens.css inherits cleanly - Server-side renderable by
dappco.re/go/html— shared pipe registry, byte-identical output - Companion to CorePHP's
<core:*>tags — same primitive names across the polyglot stack
RFC.md — the spec. Read this first.
# As an npm package
npm install @dappcore/ui
# Or as a git submodule (dappco.re-native pattern)
git submodule add https://github.com/dAppCore/ui.git external/uiSee RFC.md §16. Currently at v0.1 — foundation (formatter registry + 12 built-ins). v0.3 ships the seed <core-data-table> component.