正在加载视频...

视频加载失败

what if base ui was just html

22,880 次观看 • 1 个月前 •via X (Twitter)

21 条评论

Adam Wathan 的头像
Adam Wathan1 个月前

We did this for Tailwind Plus, can recommend 💯

Colm Tuite 的头像
Colm Tuite1 个月前

did you ever benchmark it vs. the react lib?

Adam Wathan 的头像
Adam Wathan1 个月前

Not sure if we ever really did that, @malfaitrobin?

Benny Schudel 的头像
Benny Schudel1 个月前

That would be so much better than react.

Haz 的头像
Haz1 个月前

That works for simple use cases. For more complex ones, we need more control over the native top layer.

Colm Tuite 的头像
Colm Tuite1 个月前

yeah top-layer is no good

David Luhr 的头像
David Luhr1 个月前

This would be incredibly useful. My personal projects are almost always vanilla HTML, CSS, and JS. I've built many menus, custom dialogs, even full file trees from scratch, but having Base UI as a foundation would be very helpful.

Teo Decu 的头像
Teo Decu1 个月前

base ui for Astro 🥹

Abdelrahman 的头像
Abdelrahman1 个月前

I started something similar before, but paused it after hitting some SSR issues. This makes me want to pick it up again

Colm Tuite 的头像
Colm Tuite1 个月前

do it! ssr is pretty good

João Vitor 的头像
João Vitor1 个月前

Yes!! Please fix the web.

Niapya(互 fo 版) 的头像
Niapya(互 fo 版)1 个月前

I didnt use any client js in my blog

Arne Wiese 的头像
Arne Wiese1 个月前

As someone who builds public pages with @astrodotbuild I'd use it right away!

Petar Zayakov 的头像
Petar Zayakov1 个月前

That would be cool

Sakil Sazzad Joy 的头像
Sakil Sazzad Joy1 个月前

what if base ui was framework agnostic? even worked with vanilla html and js?

Colm Tuite 的头像
Colm Tuite1 个月前

that's that you're looking at. this is plain html and js.

0x70hn 的头像
0x70hn1 个月前

looks great! does it have good browser support?

Colm Tuite 的头像
Colm Tuite1 个月前

it's ok

Alexandre 的头像
Alexandre1 个月前

will it cancel all the work done for react popup implementation in base ui ?

Colm Tuite 的头像
Colm Tuite1 个月前

no. native popover api + anchor positioning don't work. they're no good. i want them to work, and i want to replace base ui code with them, but they're not close to good enough currently, unfortunately.

Alexandre 的头像
Alexandre1 个月前

For the date pickers, I also noticed that the calendar comp was removed and both pull requests were closed. As I understand it, that was an experiment. Do you plan to base them on the Temporal API? That could greatly simplify the implementation while also making it more robust.

相关视频