@pulse-music/web-component
v3.0.0-rc.3
Published
Universal Web Component renderer for pulse-player — Lit-based `<pulse-player>` and `<pulse-fab>`. Works in React, Vue, Angular, Svelte, Solid, vanilla JS, or plain HTML.
Readme
@pulse-music/web-component
Universal Custom Elements for pulse-player. Lit-based <pulse-player> and <pulse-fab>.
Why
Web Components are the W3C standard for cross-framework UI. By implementing the renderer once as Custom Elements, every framework wrapper becomes a thin adapter — no duplicated rendering code, no drift, no maintenance burden growing linearly with framework count.
The wrappers (@pulse-music/react, @pulse-music/vue, …) consume these elements internally and map framework conventions (camelCase props, synthetic events) to the Custom Elements' DOM attributes and CustomEvents.
Usage (once implemented)
<script type="module" src="https://unpkg.com/@pulse-music/web-component"></script>
<pulse-player variant="midnight" ambient-eq></pulse-player>
<pulse-fab variant="vinyl" pulso></pulse-fab>Status
⏳ Scaffold — implementation lands in v3.0.0-alpha.2 (after @pulse-music/core extraction in alpha.1).
License
MIT.
