# Getting Started

> Install and use @gallerykit/justified.

Source: https://gallerykit.n.yatsyk.com/docs/justified/getting-started

# Getting Started with @gallerykit/justified

## 1. Install

```bash
pnpm add @gallerykit/justified
```

If your app does not yet depend on `@gallerykit/core`, the package will pull it in automatically.

## 2. Use it

```tsx
import { Justified } from "@gallerykit/justified";

export default function Stream({ items }: { items: GalleryItem[] }) {
  return <Justified items={items} targetRowHeight={240} />;
}
```

## Next steps

* Read the [API reference](./api.mdx) for the full list of exports.
* Browse the rest of the [GalleryKit docs](/docs) to see which layouts, skins, and themes are available.
