Drift icon indicating copy to clipboard operation
Drift copied to clipboard

Move design framework

Open MaxLeiter opened this issue 2 years ago • 9 comments

geist-ui is great for prototyping, but heavily reliant on JS and not very customizable.

MaxLeiter avatar Mar 08 '22 21:03 MaxLeiter

Hey, do you got any library in mind? I have some but I was thinking if you got prototype, wireframe or something else, so we can choose what could be better

sampaioxsamuel avatar Mar 13 '22 02:03 sampaioxsamuel

I envisioned trying to stay pretty close to what we have now, just with less JS. What do you have in mind? I'm open to ideas

MaxLeiter avatar Mar 13 '22 03:03 MaxLeiter

by less JS you mean using pure sass/css? if so theres always styled components. I was thinking about chakra or radix, the last one its good if we build our own design system but I don't if this is something that we should worry now :)

sampaioxsamuel avatar Mar 13 '22 03:03 sampaioxsamuel

Yeah, I do mean pure CSS (I'd rather avoid an extra build step if possible) with JS for progressive enhancement. For example, tabs don't render at all with JS disabled right now. We could also try upstreaming to geist-ui, but I think we'll use few enough components it'll still be maintainable to have our own. styled-components sounds good, I just went with CSS modules because that's what I'm used to. I've heard good things about radix from an accessibility point, but Chakra seems fine too.

MaxLeiter avatar Mar 13 '22 03:03 MaxLeiter

Yeah I can look up on this and test if I find a good option

sampaioxsamuel avatar Mar 13 '22 04:03 sampaioxsamuel

That'd be great! Thanks @sampaioxsamuel 🙏

MaxLeiter avatar Mar 13 '22 05:03 MaxLeiter

Maybe take a look at https://www.cirrus-ui.com/. It mainly uses SCSS and is pretty customizable but also comes with some nice prebuilt components.

maxall41 avatar Mar 25 '22 06:03 maxall41

Maybe Chakra or Mantine can be nice choice.

lordvins226 avatar Apr 13 '22 15:04 lordvins226

I can also recommend bulma, tailwind and (css only) bootstrap.

XeroxDev avatar May 09 '22 09:05 XeroxDev

Finished by switching to radix-ui and custom styling

MaxLeiter avatar Dec 18 '22 21:12 MaxLeiter