# How to create custom elements (Web Components) with ClojureScript?

**URL:** https://clojureverse.org/t/how-to-create-custom-elements-web-components-with-clojurescript/4332
**Category:** How to?
**Tags:** clojurescript
**Created:** [June 4, 2019, 4:56pm UTC](https://clojureverse.org/t/how-to-create-custom-elements-web-components-with-clojurescript/4332 "2019-06-04T16:56:39Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![jlesquembre](https://clojureverse.org/user_avatar/clojureverse.org/jlesquembre/32/3281_2.png) [@jlesquembre](https://clojureverse.org/u/jlesquembre)
#### Post date: [June 7, 2019, 4:30pm UTC](https://clojureverse.org/t/how-to-create-custom-elements-web-components-with-clojurescript/4332/5 "2019-06-07T16:30:53Z")

</div>

Thanks for the example, it is still working, the web component is created and attached to the DOM. 🙂

But I’m still trying to figure out how to mock some ES6 features. In many web components examples, apart of extending `HTMLElement`, the constructor is overridden (and `super()` is called) . So far I didn’t find a way of doing that with ClojureScript. Do you have more ClojureScript - Web Components examples?

For context, what I’m really trying to do is to create a ClojureScript wrapper around [LitElement](https://lit-element.polymer-project.org/)

---

_[View the full topic](https://clojureverse.org/t/how-to-create-custom-elements-web-components-with-clojurescript/4332)._
