As soon as I saw the Bloom component from Josh Puckett, I knew I had to build it with plain HTML and CSS. This one was tricky, I won't lie, but a lot of fun.
May just add this as an affordance to HTML UI, we shall see.
| Homepage | https://fractaledmind.github.io |
| GitHub | https://github.com/fractaledmind |
| https://www.linkedin.com/in/stephen-margheim-5aa25bb8/ | |
| https://x.com/fractaledmind |
As soon as I saw the Bloom component from Josh Puckett, I knew I had to build it with plain HTML and CSS. This one was tricky, I won't lie, but a lot of fun.
May just add this as an affordance to HTML UI, we shall see.
Same olʼ <dialog>, completely new CSS.
HTML UI will have dialog sheets inspired by Silk React components.
No JS, no swipe gestures, but still gorgeous sheets with elegant animations. Just a <dialog class="ui-sheet"> away ✨
Which of these buttons do you like more, and why?
Each has a subtle 3d effect, but done in three different ways. Shown here at 1x, 2x, and 8x.
Instead of this...
You write this...
Component libraries bundle JS behavior, CSS styling, and DOM templating. Most of the time I just want one, not all three. Headless libraries solved "behaviors only, no styles."
I can't find any "bodiless" libraries offering styles only, no behaviors.
So I'm making HTML UI...
Why mask instead of background-image?
You can't change SVG fill colors dynamically with background images.
But with mask, the SVG acts as a stencil—letting background-color show through.
Now hover states are just color changes.