# Introduce gpui2 and storybook crates \(\#2919\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c3a3543ebb4d79210621229db3c807402512c6d8

Requested commit: c3a3543ebb4d79210621229db3c807402512c6d8

Commit: c3a3543ebb4d79210621229db3c807402512c6d8

Tree: 888b3d660dcda4e442a3a513bdb31629bd4b8186

Author: Nathan Sobo

Committer: GitHub

## Message

```
Introduce gpui2 and storybook crates (#2919)

This PR splits `crates/gpui/playground` with two new crates: `gpui2` and
`storybook`.

GPUI 2 re-exports most of `gpui`, but makes some adjustments. I want to
keep the scope focused. This isn't literally version 2.0 of GPUI or
anything. It's just a convenient way to make a create with fewer
dependencies where we can iterate quickly on aspects of GPUI's design.
Most of the focus is on improving our approach to element layout and
styling.

The `storybook` crate is pretty empty for now, but it's where I intend
to start rebuilding interfaces. I welcome anyone else to join me in
this, though until I get one interface fully built, buyer beware. You
may need to pair on it with me.
```

## Parents

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

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

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