# Svelte refs: [#3852](https://github.com/sveltejs/svelte/issues/3852) [#875](https://github.com/sveltejs/svelte/issues/875) # Example HTML: ```html <my-component header-text="hello"></my-component> ``` Svelte file: ```html <svelte:options tag="my-component" /> <script> export let headerText; </script> <div> {headerText} </div> <style lang="scss"> </style> ``` `headerText` is undefined. # Workaround: You can use `{$$props["header-text"]}` but if user change the html attribute, svelte, don't re-render html and webcomponent show always "hello".