正在加载视频...
视频加载失败
Introducing React Grab: Select an element → give it to AI as context → make a change to your page Try it now - it's open source!
440,085 次观看 • 1 年前 •via X (Twitter)
48 条评论

By default coding agents cannot access elements on your page React Grab enables this & works with all of the AI coding tools - Cursor, Claude Code, OpenCode GitHub: Demo:

install here:

open-source? let's fucking go

OSS ftw

Low-key wished this was an extension instead but totally understandable.

technicaly can make it one! we're OSS:

v cool

🫶

You should consider adding source code context like component name and file path as an optimization for large codebases. I prototyped a similar tool for @getsentry, and the extra context really helped reduce the number of tool calls and instances where it updates a component on a different page.

me making a superapp to rival the tech giants.. simply w/ react grab:

i think i'm too early

fixed, lol

🐐

Lets fucking go

W

Does this work for entire navbars? Looks pretty sick!

yeah should work for any UI. lmk if it doesnt

Oh, and why is it "react grab" and not "react screenshot"? Is it intentional context window limit or just the name u went with?

Fire, going to try this out

lmk!!

brb, need to make a vue version of this

wtf this is sick

This is so cool

whoa, dope! does this work with all IDEs/code editors or only a select few?

all of them!

Liked the concept for sure! But any concrete/bigger use cases you foresee? I can only think of the case where designers can tweak and play around as of now.

can you provide more complex usage examples? to make this change you don't need this tool, code editor is just enough

esp. on bigger react apps (with many, many nested components)

ohh that looks awesome! :D

lmk if you hit any issues! should be super simple to integrate

What tool do you use to record/edit videos in that style? Zoom in / out.

Nice, would be cool if it gave styling options that you could hover over and see it change live

W for oss

fire 🔥 OOS makes it 10x cooler. Also obsessed with the demo website

Commit by the dev who actually code

Another banger from Aiden.

Like it! Are there plans to integrate with @amidotdev ?

@amidotdev yep! it'll be one integrated experience

nice this will simplify a lot of things

Wow I this is so cool!!

Interesting...

fuck man i just released a repo similar to this haha

This is sick! Amazing work 🙌

Creative i love it!

I almost started to build something like this, i am happy you did it first

haha nice idea. i have a weird version of this but this is well executed, will check it out.

aiden bai my goat !!

Interesting. Would it be possible to install this globally somehow?
