Stacked list

Stacked list is a flexible list that can includes various inner components.

  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton

Sizes

  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton

.c-stacked-list

  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton

.c-stacked-list .c-stacked-list--s

Wrapped

The stacked list works well wrapped in a boxed component. You can add a fixed height or max-height to add a scroll.

Visitors
  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton
  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton
Visitors
  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton
  • Milly Duran
  • Glenn Ortiz
  • Oliver Gardner
  • Beatrice Pacheco
  • Lydia Sutton

Grouping

You can organize items with groups. Group headers are sticky when the list is scrolled.

France
  • Paris
    • Opera
    • Bastille
    • Trocadero
    • Montmartre
  • Lille
    • Lesquin
  • Bordeaux
    • Saint-Augustin
  • Lyon
    • Perrache
    • Part-Dieu
    • Croix-Rousse
  • Marseille
    • Saint-Charles
    • Belsunce
    • Notre-Dame
  • Nice
    • Aéroport
    • Sofia-Antipolis
    • Promenade des Anglais
  • Toulouse
    • Blagnac

Interactive item

You can make a list item interactive by wrapping it with the .c-stacked-list__inner--interactive class variant.

Inner elements

The list works well with various small components.

Custom inner elements

You can create custom item components and/or rely on utilities to customize items appearance.