Ive been doing this with web components. Please give an example web component that does X with Y and covers Z edge case? It not only works but I couldnt have written a better one in the same amount of time (considering it only took ChatGPT like 3 seconds)