# Rework \`ListItem\` and \`ListHeader\` to use slot-based APIs \(\#3635\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/ee509e043d359e354b975c45c4f2873c133a40d6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: ee509e043d359e354b975c45c4f2873c133a40d6

Requested commit: ee509e043d359e354b975c45c4f2873c133a40d6

Commit: ee509e043d359e354b975c45c4f2873c133a40d6

Tree: 87a40a41c93e334e9ca5848531adb1e4ded3cfc7

Author: Marshall Bowers

Committer: GitHub

## Message

```
Rework `ListItem` and `ListHeader` to use slot-based APIs (#3635)

This PR reworks the `ListItem` and `ListHeader` components to use
slot-based APIs, making them less opinionated about their contents.

Splitting this out of the collab UI styling PR so we can land it to
avoid conflicts.

Co-authored-by: Nate <nate@zed.dev>

Release Notes:

- N/A
```

## Parents

- [5c8257585aee12aae09986394a3dcce5de9c2c68](https://git.cafe/gitcafe/zed/commit/5c8257585aee12aae09986394a3dcce5de9c2c68?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/ee509e043d359e354b975c45c4f2873c133a40d6?format=markdown)
