@manifoldco/ui0.1.0 • Public • Published
🍱 Manifold UI
npm i @manifoldco/ui
|Vanilla JS (no framework)||✅|
HTML (ES Modules)
HTML (No ESM Support)
TypeScript + JSX setup
When using inside TypeScript, you’ll likely see this error (
manifold-connection could be any custom element):
Property 'manifold-connection' does not exist on type 'JSX.IntrinsicElements'
To solve that, create a
custom-elements.d.ts file somewhere inside your
project (must be inside the include option in
This will expose the types from Stencil to JSX, and you’ll be able to get typechecking as you write.
*Note: every element will have to be declared manually, at least until this PR is merged in TypeScript core.*🎉
Ember, Angular, Vue, and others
Initializing Manifold UI works the exact same as any other Stencil project. For more advanced instructions on integrating with your specific stack, please refer to Stencil’s docs on integration.