callstack/liquid-glass ? reverse-engineered prompt
Reverse engineered prompt
Build me a small React Native library that adds the new iOS liquid glass look to apps on iPhone, with a simple component I can drop around any content.
I want one main glass view that can be interactive, switch between a clear and regular effect, take an optional tint color, and let me turn animation on or off with a custom duration. It should also have a container component so nearby glass elements can blend together when they are close enough. If the device does not support the effect, it should still render a normal view and expose a simple way to detect support so I can show a fallback.
Please include a quick example app screen with a few glass cards, some text inside, and a fallback style for older iOS versions. Make it feel polished and easy to use, and look up the current iOS and React Native docs online if you need to confirm the best approach.
Are you gonna build this?
make sure you review the code using coderabbit