Live data from Hacker News

Shoelace: A library of web components

shoelace.style

1–10 of 114 posts

Re: Shoelace: A library of web components

#4
post #2

On my phone, the whole page is covered by the left side menu. Tapping on the burger doesn’t hide the menu either. Not a good impression from a web design library.

What phone are you using? It seems fine on my old iPhone mini.

Iphone 6S running 14.3.

Re: Shoelace: A library of web components

#7
this looks great. I'm puzzled by something though: why does it duplicate components that already exist in standard HTML5 (Button, Checkbox, Dropdown etc.)? The whole idea of web components is being able to augment what's already built in, not have to replace it.

Maybe it's for consistency (styling/behaviour). Either way, it looks really well done.

Re: Shoelace: A library of web components

#8

this looks great. I'm puzzled by something though: why does it duplicate components that already exist in standard HTML5 (Button, Checkbox, Dropdown etc.)? The whole idea of web components is being able to augment what's already built in, not have to replace it. Maybe it's for consistency (styling/behaviour). Either way, it looks really well done.

Theming is at least one reason.

Re: Shoelace: A library of web components

#10

this looks great. I'm puzzled by something though: why does it duplicate components that already exist in standard HTML5 (Button, Checkbox, Dropdown etc.)? The whole idea of web components is being able to augment what's already built in, not have to replace it. Maybe it's for consistency (styling/behaviour). Either way, it looks really well done.

Because browsers offer very little styling and customization options even for the handful of built-in elements. That's why every library under the sun tries to re-invent them again, and again, and again.

https://open-ui.org/ will finally help with this, but it's a very slow process.

Post reply on HN