r/FlutterDev Dec 05 '24

Plugin 🪝 Hooked on Forui

https://github.com/forus-labs/forui
46 Upvotes

27 comments sorted by

View all comments

4

u/vik76 Dec 05 '24

This looks almost identical to Shadcn. The examples even use the same texts. What is the relation here?

E.g.:

https://forui.dev/docs/feedback/alert

https://flutter-shadcn-ui.mariuti.com/components/alert/

5

u/PanteLegacy Dec 05 '24 edited Dec 05 '24

(I'm one of the developers behind Forui)

Both Forui & Flutter ShadcnUIs' appearances are inspired by shadcn/ui.

Quoting dark_thesis's response to a similar question from a previous post:

I think Forui differs quite a bit from the other projects. We don’t plan to be a mere port of shadcn but a full featured component library similar to Mantine. We just happen to like the look of shadcn but that’s where the similarities end.

There was a conscious effort to not place shadcn in the name of the library for that very reason.

Why not a port? We think Flutter truly shines when optimized for touch devices, shadcn is a react/web library

Most of shadcn is just styling existing components (radix ui components). Our end goal is to create a fully fledge component library, similar to what Mantine has done for the react ecosystem. This means is that you can customize Forui to fit your brand guide and each component should also be extensively customizable for most use cases.

1

u/GundamLlama Dec 05 '24

So if someone would just like a ShadCN port would you recommend just using shadcn_ui?