ListCell

Accessible interactive lists with customizable content and actions.

Verified
WorkOSAuthentication and user management
Example IncAuthentication and user management

The ListCell component is composed of several subcomponents that work together.

The Root component is based on the Flex component and contains ListCell.Item components.

PropTypeDefault
childrenReact.ReactNode
size"1" | "2" | "3""1"

The Item component represents an individual list item.

PropTypeDefault
childrenReact.ReactNode
asChildbooleanfalse
lowContrastbooleanfalse
titleReact.ReactNoderequired
descriptionReact.ReactNode

When asChild is true, the item becomes a slot that can render as another element (like an anchor tag). When lowContrast is true, the item will have muted colors.

With children:

PropTypeDefault
childrenReact.ReactNoderequired

Different sizes

Different sizes applies different padding and gap in each item.

Verified
https://workos.com
Verified
https://workos.com
Verified
https://workos.com

Use the asChild prop to render items as links or buttons.

Use the lowContrast prop to visually de-emphasize specific items.

Add multiple elements to build complex list items.

AO
Created Dec 24, 2024
Another oneMember
AO
Created Dec 24, 2024
Another oneMember
AO
Created Dec 24, 2024
Another oneMember
Enabled
Bot detectionDetect bots and scripted attacks!
Enabled
Bot detectionDetect bots and scripted attacks!
Enabled
Bot detectionDetect bots and scripted attacks!

ListCell works seamlessly inside CardList components and will adapt to the CardList size.

Client credentials

Generate a private key to authenticate the application.

Created Dec 24, 2024
•••••••••••••••••••7963Never used
Created Dec 24, 2024
•••••••••••••••••••7963Never used
Created Dec 24, 2024
•••••••••••••••••••7963Never used