Carousel Demo - Selector API Showcase

Demonstrates the new selector API features:

  • ScrollRef for programmatic scroll control
  • Element IDs for targeting elements
  • scroll_to() to scroll to elements by ID
  • ScrollOptions with ScrollBlock::Center for centering cards

Tip: Some demos are best viewed in a full browser window. Click "Open in a new tab" below for the full experience.

Open in a new tab · View source on GitHub