supabase / ui

Supabase UI Library

Home Page:ui-storybook-pre-release.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show Carousel in Supabase Cards

Nazeeh21 opened this issue · comments

Feature request

Show Carousel in Supabase Cards for multiple images if the user wants to display Carousel in the Cards

Is your feature request related to a problem? Please describe.

I want to display the Carousel in Supabase cards for my website.

Describe the solution you'd like

Add a Carousel in Supabase Cards, if the images passed in the props are more than one.

A clear and concise description of what you want to happen.
If the user wants to display the images in Cards as a Carousel instead of a single image, display carousel.

Describe alternatives you've considered

I manually added a Carousel library. It would be great if it would be a native feature of Supabase cards.

Additional context

Example screenshot

image

Be good to hear what others think but I don't think we should support this in this library so it leaves it to whoever is using it to pick whatever they want to use for images/carousels.
My first thought is anyone using NextJS will probably want to use Next/Image, and I think even in Supabase we have used a couple of different libraries depending on what we were trying to do - so I'm a bit weary of adding this in as we'll never really hit enough use cases.

Although, this is just my opinion - be good to hear others 😄

Closing this for now