Skip to content

feat(carousel): Add carousel top navigationstories story#34990

Merged
layershifter merged 1 commit intomicrosoft:masterfrom
pixel-perfectionist:feat/carousel-design-best-practices
Nov 5, 2025
Merged

feat(carousel): Add carousel top navigationstories story#34990
layershifter merged 1 commit intomicrosoft:masterfrom
pixel-perfectionist:feat/carousel-design-best-practices

Conversation

@pixel-perfectionist
Copy link
Copy Markdown
Member

@pixel-perfectionist pixel-perfectionist commented Aug 6, 2025

Teams design audit highlighted the need for consistent top-aligned carousel navigation. Placing the title, arrows, and pagination together improves usability, aligns with Teams patterns, and prevents one-off implementations. This story provides a reference implementation in Fluent UI, ensuring accessibility, design token usage, and theming are applied correctly.

New Behavior

  • Added CarouselTopNavigationstories.tsx: A new story that demonstrates carousel design top navigation practice
  • Story shows:
    • Title left-aligned, nav controls right-aligned in header
    • Dot pagination rendered via CarouselNav inside CarouselNavContainer
    • Always-visible previous/next buttons with explicit aria-labels
    • Banner-style cards themed with Fluent tokens
    • Accessible announcer function for screen readers
Screenshot 2025-08-06 at 3 34 33 PM

Related Issue(s)

  • Enhances Carousel documentation with a concrete, Teams-aligned example
  • Reduces need for one-off implementations of carousel navigation across products

Type of Change:

  • Bug fix
  • [] New feature
  • Documentation update
  • Breaking change

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 6, 2025

📊 Bundle size report

✅ No changes found

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 6, 2025

Pull request demo site: URL

@pixel-perfectionist pixel-perfectionist force-pushed the feat/carousel-design-best-practices branch from a6847c0 to 5dd1b5a Compare September 2, 2025 21:20
@pixel-perfectionist
Copy link
Copy Markdown
Member Author

@layershifter, is there a way to update/add new content images?

@layershifter
Copy link
Copy Markdown
Member

@layershifter, is there a way to update/add new content images?

@Hotell before images were uploaded with v0 docsite, what is the proper way to do it now?

@pixel-perfectionist pixel-perfectionist force-pushed the feat/carousel-design-best-practices branch from ef0fd53 to 2360d5c Compare September 10, 2025 14:14
@pixel-perfectionist pixel-perfectionist marked this pull request as ready for review September 10, 2025 14:14
@pixel-perfectionist pixel-perfectionist changed the title feat(carousel): add Design Best Practices story for Carousel component feat(carousel): Add carousel top navigationstories story Sep 10, 2025
@pixel-perfectionist pixel-perfectionist force-pushed the feat/carousel-design-best-practices branch 4 times, most recently from 9a7b9c0 to 81f0a99 Compare September 10, 2025 15:30
@pixel-perfectionist pixel-perfectionist force-pushed the feat/carousel-design-best-practices branch from 42e4e79 to a99b8df Compare November 5, 2025 16:46
@pixel-perfectionist pixel-perfectionist force-pushed the feat/carousel-design-best-practices branch 3 times, most recently from a99b8df to 7a2329c Compare November 5, 2025 17:02
@layershifter layershifter merged commit e8d6726 into microsoft:master Nov 5, 2025
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants