Several things! But my favourite use-case works surprisingly well.
I have a js-to-video service (open source sdk, WIP) [1] with the classic "editor to the left - preview on the right" scenario.
To help write the template code I have a simple prompt input + api that takes the llms-full.txt [2] + code + instructions and gives me back updated code.
It's more "write this stuff for me" than vibe-coding, as it isn't conversational for now.
I've not been bullish on ai coding so far, but this "hybrid" solution is perfect for this particular use-case IMHO.
From that list you only need React and a bundler, which can be Vite. You really don't need more than that to get started. Please ask, I'll do my best to help you out.
Solution 1: You can give a classname to your component and prefix every CSS rule with this classname. e.g. <CustomSelect>, which translates to <div className="custom-select">, which you can style by prefixing every rule with .custom-select. You put that in the index.css inside your folder CustomSelect to be easily editable when you need it.
Solution 2: Otherwise you could try to use CSS modules (Vite supports them out-of-the-box I think).
Solution 3: Otherwise you could try one of the many "CSS-in-JS" libraries like styled-components.
Personally I'm using the solution 1, did for more than a decade, works fine, scales well, nothing to install and learn, just old straightforward CSS.
In practice, I find keeping your CSS separate from the JSX tends to be cleanest (your solution 1).
Separation of concerns with what are essentially totally different markup languages is best when you can. We tolerate it with JSX because there isn't a fantastic first-class declarative way to express an object, a list of objects, or filtering in HTML. (I have seen WebComponents and the MDN tutorial seemed like taking a step back.)
Exciting product. You should describe some common problems people have, and show us how you could use Scriptable to solve them. That's a nice and "easy" way to showcase a service IMHO.
No worries mate. The examples don't have to be ground-breaking or even relevant (for me), but clear so I can see how I can apply Scriptable.dev to solve my specific problems.
And, since you target developers, add as much info as you have. Don't skip messy stuff like "how to authenticate" or similar.
I have a js-to-video service (open source sdk, WIP) [1] with the classic "editor to the left - preview on the right" scenario.
To help write the template code I have a simple prompt input + api that takes the llms-full.txt [2] + code + instructions and gives me back updated code.
It's more "write this stuff for me" than vibe-coding, as it isn't conversational for now.
I've not been bullish on ai coding so far, but this "hybrid" solution is perfect for this particular use-case IMHO.
[1] https://js2video.com/play [2] https://js2video.com/llms-full.txt