Prepared Docs

Prepared Docs

⌘K

    Loading navigation…

User

  1. Primitives
  2. List Group
  3. API and Development

List group

API and Development

View Source
Submit Issue

ListGroup applies the list-group class to a <ul> and forwards ref. Compose with ListItem for interactive rows or plain content inside <li> elements.

Props

Name

Type

Default

Description

className

string

—

Additional CSS class name applied to the <ul> element.

ref

Ref<HTMLUListElement>

—

Ref forwarded to the underlying <ul> element.

Storybook

Interactive examples and edge cases for this component are in Storybook.

Default
With Ref

Default

With ref

Previous

List Group / Usage

Next

List Group / Accessibility

On this page

Props
Storybook
Default
With ref