# title bar: Adjust the onboarding banner component API \(\#27455\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 152432f1d9f5da44e1c96abd45f6c0f3d2b6051b

Requested commit: 152432f1d9f5da44e1c96abd45f6c0f3d2b6051b

Commit: 152432f1d9f5da44e1c96abd45f6c0f3d2b6051b

Tree: 0a351d76900a27a0bef670498e35ac7722f2f41b

Author: Danilo Leal

Committer: GitHub

## Message

```
title bar: Adjust the onboarding banner component API (#27455)

This PR encapsulates the layout building of the Onboarding Banner
component inside of it, allowing to, at the call site, just pass an
icon, title, and subtitle. The `subtitle` parameter, by default, uses
the `Introducing:` label, which I think will be the one we'll use most
of the time for this specific component.

Release Notes:

- N/A
```

## Parents

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

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