[Feat]: Embla lightbox #269
Replies: 4 comments 6 replies
-
Hi Robin (@openscript), I think this is a good idea and it sounds like a fun project to work on 🙂. Version 6 of Embla introduced the plugin system which allows for extending the carousel beyond its core features. Initially, I thought that the But when reading your description, it seems like this component will only be available for React users. Is that correct? If that's the case, I'm leaning more towards creating a separate repository for the I'd be happy to help out with my deep understanding of the Embla core and suggest solutions to different challenges that may arise during the development of this Best, |
Beta Was this translation helpful? Give feedback.
-
Love to see this. @openscript did you happen to make any progress on this? |
Beta Was this translation helpful? Give feedback.
-
Has anything been done here? Even a simple click to expand / go full screen. |
Beta Was this translation helpful? Give feedback.
-
Stale discussion - Closing. |
Beta Was this translation helpful? Give feedback.
-
Hi @davidjerleke
Unfortunately it's hard to find such well documented and nicely programmed React components (written in TypeScript) like
embla-carousel
. Sometimes I have the need to combineembla-carousel
with a lightbox. For common understanding: Here is one of the first lightbox: https://lokeshdhakar.com/projects/lightbox2/The closest existing React component which fulfills my needs is https://github.com/tim-soft/react-spring-lightbox, but it's quite hard to integrate with
embla-carousel
. The "problem" is, thatreact-spring-lightbox
renders the thumbnails (or embla slides) by itself. I see a market opportunity (if opensource community can be called a market 😃) to have a nice, well-integrated lightbox React component.In my opinion, the "to-be created" lightbox component should integrate
embla-carousel
, when it's in lightbox mode, butembla-carousel
should be independent fromembla-lightbox
. So the entrypoint into the lightbox can be from pictures and images (for example in a grid) as well as from slides inside anembla-carousel
.Contrary to the
react-spring-lightbox
, where the component renders the thumbnails by itself, I imagine that theembla-lightbox
needs to be wrapper which manages a context with the registered images/slides and takes care of the lightbox mode when needed.I would be happy to work on something like that, maybe inside a
embla-components
organization here on Github or another context.I'm looking forward to hearing any opinions about this 🧗♂️
Robin
Beta Was this translation helpful? Give feedback.
All reactions