Skip navigation
what if base ui was just html
0:00 / 0:21

what if base ui was just html

Colm Tuite

@colmtuite11K followers

Visit on X
253 likesDownloadOriginal post

22,941 views

what if base ui was just html

21 Comments

Comments from the original post on X (Twitter)

  • Adam Wathan's profile picture

    @adamwathan

    We did this for Tailwind Plus, can recommend 💯

    24 likes

  • Colm Tuite's profile picture

    @colmtuite

    did you ever benchmark it vs. the react lib?

    6 likes

  • Adam Wathan's profile picture

    @adamwathan

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

    5 likes

  • Benny Schudel's profile picture

    @bennyschudel

    That would be so much better than react.

    4 likes

  • Haz's profile picture

    @diegohaz

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

    4 likes

  • Colm Tuite's profile picture

    @colmtuite

    yeah top-layer is no good

    1 like

  • David Luhr's profile picture

    @david_luhr

    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.

    4 likes

  • Teo Decu's profile picture

    @teodecu

    base ui for Astro 🥹

    3 likes

  • Abdelrahman's profile picture

    @abderizik

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

    3 likes

  • Colm Tuite's profile picture

    @colmtuite

    do it! ssr is pretty good

    1 like

  • João Vitor's profile picture

    @jvzaniolo

    Yes!! Please fix the web.

    2 likes

  • Niapya(互 fo 版)'s profile picture

    @Niapyaya

    I didnt use any client js in my blog

    1 like

  • Arne Wiese's profile picture

    @wiesson

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

    1 like

  • Petar Zayakov's profile picture

    @PZayakov

    That would be cool

    1 like

  • Sakil Sazzad Joy's profile picture

    @one_sss

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

  • Colm Tuite's profile picture

    @colmtuite

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

  • 0x70hn's profile picture

    @0x70hn

    looks great! does it have good browser support?

  • Colm Tuite's profile picture

    @colmtuite

    it's ok

  • Alexandre's profile picture

    @Alexand46562830

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

  • Colm Tuite's profile picture

    @colmtuite

    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.