rainbowkit
rainbowkit copied to clipboard
feat: compact mode
compacc mode 👛
https://user-images.githubusercontent.com/16931094/183975907-cc8aa339-31db-4b64-add6-5ba09f92c619.mov
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Updated |
|---|---|---|---|
| rainbowkit-example | ✅ Ready (Inspect) | Visit Preview | Aug 16, 2022 at 4:17AM (UTC) |
| rainbowkit-site | ✅ Ready (Inspect) | Visit Preview | Aug 16, 2022 at 4:17AM (UTC) |
I'm wondering whether we need to avoid using a boolean prop so we don't corner ourselves if we need to add additional modes in the future, e.g. <RainbowKitProvider modalSize="compact">. It might also help make it clear that this impacts the modal on desktop since it doesn't affect the bottom sheet on mobile.
(I know we already have coolMode, but that one's deliberately tongue in cheek 😄)