Skip to content

Files

Latest commit

 

History

History
 
 

lists

@uifabric/lists

List components for Fluent UI React (formerly Office UI Fabric React)

Overview

The intent of the @uifabric/lists package is to prototype approaches to lists both virtualized and non-virtualized:

  • StaticList (in development): Provides a simple way to display an arbitrary collection of items in a list, without view virtualization.
  • DynamicList (in planning): Represents a component to display an arbitrary collection of items in a list, with view virtualization.
  • FixedList (in development): Inspired by Brian Vaughn's react-window (MIT license), this component is a special case of DynamicList which is specifically optimized for the case where all row heights are the same and known in advance.

Since the components in this package are not yet production-ready, we recommend using @fluentui/react's more stable List components:

Usage

These are not production-ready components and should never be used in product. This space is useful for testing new components whose APIs might change before final release.

To import list components:

import { ComponentName } from '@uifabric/lists';

Profiling

Below are resources on using the React profiler and <Profiler/> component: