用 Jev 做路由,把 Google 搜索改成流体界面实验
作者先在项目里用 Jev 当路由器,再把它用到前端,做出随输入弹出匹配界面的 Google 搜索流体 UI 实验。
A small experiment with Google Search Making fluid UI easier to visualize through something we already use. After trying @TypeSafe’s Jev as a router in one of my projects, I wanted to try it on the frontend too. Then I came across ShapeShift, an open-source fluid interface by @anishfn. I thought it was pretty cool. The interface changes based on what you type. I wanted to try that idea on something familiar. @Google Search felt like a good place to start. It already has custom interfaces for specific searches, which help make the results useful. So I built a small experiment. As you type a query, a matching interface pops up. ShapeShift’s / menu for discovering tools, and its widgets that respond to what you type, helped shape it. It’s nowhere near as detailed or polished as Google’s actual UI. But I thought using a service billions of people already know could make fluid UI a little easier to visualize. You can try it here: https://googlefluid.vercel.app/ This is an independent experiment, built for fun. Not affiliated with Google.