Kibo UI
Header Background

List

List views are a great way to show a list of tasks grouped by status and ranked by priority.

Powered by

Installation

npx kibo-ui@latest add list

Features

  • Drag and drop items between groups
  • Customize the item contents

Examples

Simple version

Props

The list view is made up of the following subcomponents:

ListProvider

The ListProvider component is used to provide the features to the list.

PropTypeDefault
children
ReactNode
-
onDragEnd
(event: DragEndEvent) => void
-
className
string
-

ListGroup

The ListGroup component is used to display a group of items.

PropTypeDefault
id
string
-
children
ReactNode
-
className
string
-

ListHeader

The ListHeader component is used to display the header of a group.

PropTypeDefault

ListItems

The ListItems component is used to display the items of a group.

PropTypeDefault
children
ReactNode
-
className
string
-

ListItem

The ListItem component is used to display an item.

PropTypeDefault
id
string
-
name
string
-
index
number
-
parent
string
-
children
ReactNode
-
className
string
-

On this page