onlook-dev / onlook

The open source, local-first Webflow alternative. Design directly in your live React site and publish your changes to code.
https://onlook.dev
Apache License 2.0
2.61k stars 124 forks source link

[FEAT] Unified way to handle UI libraries #195

Open Kitenite opened 3 weeks ago

Kitenite commented 3 weeks ago

Describe the feature

We have support requests for a few UI libraries already:

  1. Ant design https://github.com/onlook-dev/onlook/issues/153
  2. Material UI https://github.com/onlook-dev/onlook/issues/132
  3. ShadCN (we use internally)

We should have a unified way to support these UI libs. See this Discord thread for more discussion

The proposal is to create a lightweight, standard API similar to what Framer has, allowing users to quickly add support for their components by annotating a type file. Also see Storybook and MagicPattern.

Kitenite commented 2 weeks ago

@bkrmendy is taking a stab at this. It needs component support first. See discussion here: https://discord.com/channels/1258534787279355975/1261446485304934402/1277653595331887168