@patternfly/react-core
Version:
This library provides a set of common React components for use with the PatternFly reference implementation.
34 lines (20 loc) • 448 B
Markdown
id: Simple list
section: components
cssPrefix: pf-v6-c-simple-list
propComponents: ['SimpleList', 'SimpleListGroup', 'SimpleListItem']
import { useState } from 'react';
## Examples
### Simple list
```ts file="SimpleListBasic.tsx"
```
### Simple list with links
```ts file="SimpleListLinks.tsx"
```
### Grouped list
```ts file="SimpleListGrouped.tsx"
```
### Uncontrolled simple list
```ts file="SimpleListUncontrolled.tsx"
```