rainbowkit icon indicating copy to clipboard operation
rainbowkit copied to clipboard

feat: compact mode

Open nicoglennon opened this issue 3 years ago • 2 comments

compacc mode 👛

https://user-images.githubusercontent.com/16931094/183975907-cc8aa339-31db-4b64-add6-5ba09f92c619.mov

nicoglennon avatar Aug 10 '22 17:08 nicoglennon

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)

vercel[bot] avatar Aug 10 '22 17:08 vercel[bot]

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 😄)

markdalgleish avatar Aug 10 '22 23:08 markdalgleish