Easy way to use the components in react #5151
4E-69-63-6B-20-42-6F-73
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
Could you show an example non how to use it in a React project ? For example a Menu |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here's a library which uses these components directly in React, and is installable from npm: P.S.: I'm a maintainer of that library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
I've been tinkering around and created this script to easly use the material-web in React. Manually creating wrappers with lit is a hassle. Well, this script does the heavy lifting. Pop in a list of components, and out comes everything wrapped.
Of course you still need to install @lit/reac and @material/web
The magic
Beta Was this translation helpful? Give feedback.
All reactions