跳过导航
Introducing Canvas UI, the first ever html-in-canvas component library.
0:00 / 0:48

Introducing Canvas UI, the first ever html-in-canvas component library.

David Haz

@davidhaz1.3万 位关注者

在 X 上查看
7,455 个赞下载原帖

1,430,201 次观看

Introducing Canvas UI, the first ever html-in-canvas component library. Your DOM is the render target now. Real-time shaders over real, interactive UI. 24 components. React, Vue, Svelte, vanilla TS. Free. Open source. 🧵

73 条评论

评论来自 X (Twitter) 上的原帖

  • David Haz 的头像

    @davidhaz

    This wasn't possible until now. The tech literally didn't exist. html-in-canvas lets shaders read and redraw your real DOM in real time, while text stays selectable and links stay clickable. Everyone else has demos. This is a full library. A new dimension for the web. Literally.

    394 个赞

  • David Haz 的头像

    @davidhaz

    24 components at launch: Liquid. Blaze. Glass. Shatter. VHS. Particle Reveal. Cloth. Ripple. Droplets... Each one a single command. No package, no dependency, the source lands in your project, yours to edit.

    168 个赞

  • David Haz 的头像

    @davidhaz

    Probably the most AI-ready component library out there: ▸ shadcn registry + MCP: agents browse & install everything ▸ Copy for AI everywhere: prompts, configured code, markdown docs ▸ Open any page in ChatGPT, Claude, or v0 ▸ llms.txt built in ⭐

    189 个赞

  • grim 的头像

    @grimcodes

    The browsers shipped the tech, but it was virtually untouched until now, and i hate to be dramatic but this is groundbreaking man I think hex float blew my mind the most We're going to see some really crazy landing pages come out in the next 6 months 🔥

    83 个赞

  • David Haz 的头像

    @davidhaz

    Man thank you, this means a lot! It’s only the start, with broader browser support in the future, this will be the next big thing, I’m sure.

    21 个赞

  • Poimandres 的头像

    @pmndrs

    We are exploring HTML-in-Canvas as a native React API (or R3F API if native does not make sense). DM me if you are interested in being part of it!

    27 个赞

  • David Haz 的头像

    @davidhaz

    That sounds great, the only thing is, I want to keep this lib framework/library-agnostic! Interested to see what you will build though!

    17 个赞

  • Poimandres 的头像

    @pmndrs

    It would be great to get your input all the same. It is an opportunity to give feedback to Google on the API.

    11 个赞

  • Fernando Rojo 的头像

    @fernandorojo

    Great demos. Btw, I would make the popover that tells me I'm missing the Chrome feature flag more prominent. I almost missed it.

    25 个赞

  • David Haz 的头像

    @davidhaz

    Will do!

  • OrcDev 的头像

    @orcdev

    I covered Canvas UI in my latest video:

    12 个赞

  • David Haz 的头像

    @davidhaz

    I’m gonna need to sit down for this one! Thanks for making a special video for it ❤️

    3 个赞

  • Dev Ed 的头像

    @developedbyed

    One of the coolest projects I’ve seen in a long time! Big congrats

    9 个赞

  • David Haz 的头像

    @davidhaz

    Thanks a lot man, means a lot! ☀️

    2 个赞

  • OrcDev 的头像

    @orcdev

    omg can't believe how good is this, you cooooooked!

    8 个赞

  • David Haz 的头像

    @davidhaz

    The craziest @shadcn registry just dropped 👀 Thanks man!

    10 个赞

  • Igor Costa 的头像

    @igorcosta

    Nice, it took us almost 16 years to have Flash player tech once again.

    8 个赞

  • David Haz 的头像

    @davidhaz

    Flash player tech, but make it modern 🤓

    1 个赞

  • Daryl Ginn 的头像

    @darylginn

    Fire.

    7 个赞

  • ORB 的头像

    @HARDSTYLE_ORB

    Finally. HTML- in-canvas is so cool. Truly a shame most browsers still don’t have support (let’s not even think about mobile). Just stuck in Demo world for now but this is GOATED

    7 个赞