Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Carousel Component to component library #3033

Open
licon4812 opened this issue Dec 10, 2024 · 2 comments
Open

feat: add Carousel Component to component library #3033

licon4812 opened this issue Dec 10, 2024 · 2 comments
Labels
community:contribution Issue will/can be addressed by community contribution feature A new feature

Comments

@licon4812
Copy link

🙋 Feature Request

A Carousel component would be a good way of viewing images in a desktop/mobile-friendly way. Examples include

🤔 Expected Behavior

Users should be able to add items programmatically to the Carousel similar to how MudBlazor handles it. This component should work in all render modes and SSR. Should support mobile swipes as well as mice on desktop.

💁 Possible Solution

A good start may be porting over the Carousel from the React version of Fluentui. Whilst cross-referencing with the MudBlazor version in mind

🔦 Context

I was trying to have a good way of displaying multiple images like a gallery on a product I am currently developing.

The impact of this feature was I had to search for an alternative component library to use a Carousel. I am still using fluentui across my web application, but now I have another component library just chilling for this component.

The alternative I used was MudCarousel. Which does work pretty well on mobile and desktop but the downside is that MudBlazor only supports interactive modes and doesn't support SSR

💻 Examples

Image
Image
Image

@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Dec 10, 2024
@dvoituron
Copy link
Collaborator

Now, the single component that comes closest is the FluentHorizontalScroll.
It's not a caroussel, but perhaps you can use it to achieve a similar result.

But it's definitely a component we could add :-)

@licon4812
Copy link
Author

@dvoituron thank you for the suggestion. I will take a look at it to see if it can be used instead of one of the alternate components I suggested. I do think a Carousel component would be a great addition. In any event others can now find this issue if searching for it :)

@vnbaaij vnbaaij added feature A new feature community:contribution Issue will/can be addressed by community contribution and removed triage New issue. Needs to be looked at labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community:contribution Issue will/can be addressed by community contribution feature A new feature
Projects
None yet
Development

No branches or pull requests

3 participants