---
title: Category
description: Bir kategorinin bilgilerini component içinde göstermenizi sağlayan Category prop tipi.
---

<Callout type="warn" title="Eski altyapı">
Bu sayfa, ikas Studio öncesindeki headless tema altyapısını anlatır. Yeni temalar için [ikas Studio](https://builders.ikas.com/docs/ikas-studio) dokümantasyonunu kullanın.
</Callout>

Category prop tipi, bir kategoriye ait bilgileri göstermenizi sağlar. Component'inize gelen prop değeri, [IkasCategory](https://builders.ikas.com/docs/headless-theme/api/categories-and-brands#ikas-category) class'ının bir örneğidir.

`Use the category of the page` checkbox'ı yalnızca component'iniz `Category Page` sayfasına eklendiğinde görünür. Böylece mağaza sahibi, sayfanın kategorisini component'inize dinamik olarak aktarabilir. Component'iniz `Category Page` dışında bir sayfaya eklenirse bu checkbox görünmez ve mağaza sahibinin belirli bir kategoriyi elle seçmesi gerekir.

<iframe src="https://demo.arcade.software/V7csCSYeRobD3dmSLMMR?embed" title="Category prop tipi demosu" loading="lazy" allowFullScreen style={{ width: '100%', aspectRatio: '16 / 9', border: 0, borderRadius: 12 }} />

```tsx
export type CategoryTestProps = {
  ... your other props
  category: IkasCategory;
}
```
