r/reactjs • • Sep 21 '26

Show /r/reactjs Show: jev-ui — model-selected components for React

I’m building jev-ui, a React library for an AI-UI problem I kept running into: choosing which existing component to render.

You give the model an allowed set of components. Instead of only returning one opaque choice, jev-ui preserves the probability distribution across the options, then renders the winner. The goal is to make model-selected UI easier to inspect, add deterministic fallbacks to, and debug when two choices are close.

I’m looking for critical feedback on the idea and API:

- Is exposing selection probabilities useful in a React app?

- Where would you expect a fallback or confirmation step?

- What would make this trustworthy enough for production use?

Repo: https://github.com/etweisberg/jev-ui

Demo/docs: https://docs.jev-ui.dev/

0 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/organ1c_stupidity Sep 22 '26

Cool, very useful criticism thanks man. Jev structured probability output would sure make good comedy

2

u/Honey-Entire Sep 22 '26

The fact you don’t get the joke is quite telling. Peace be with you and good luck with your life 🫡