Skip to content

Declarative Custom Elements: Concepts Demo Day #80

@trusktr

Description

@trusktr

Reply here with a link and description of your concept to present on demo day (18 March). I'll update OP to list them:

  • Tram-Deco - @JRJurman - A DCE implementation that leans on Declarative Shadow DOM, existing Web Component APIs, and has some affordances for external component definitions (nothing super close to HTML Modules, but would certainly benefited by it 😅).
  • element-modules - @trusktr - Proof of concept of declarative custom elements that are importable from .html files or JS files, no build step or tooling needed, in an HTML-first format akin to component systems like Vue or Svelte with JS being optional.
  • custom-element - @sashafirsov - Pure declarative DCE POC
  • "HTML Modules and Declarative Custom Elements Proposal" - @EisenbergEffect
  • define-element - @dy - Custom element to declare custom elements. (Similar to in SVG).
  • heartml - @jaredcwhite - Define Heartml components entirely in JavaScript, in declarative Single-File Component HTML module files, or simply embedded directly in any HTML page.
  • stampino-element - @justinfagnani - A web component for creating declarative web components. That is, defining web components entirely in HTML.

EDIT Apr 5 2025: Another HTML Modules proposal, which is similar to @EisenbergEffect's proposal, but using JavaScript to export things instead of export attributes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions