Files
twenty/packages/twenty-docs/l/tr/twenty-ui/display/chip.mdx
T
Félix Malfait 5d438bb70c Docs: restructure navigation, add halftone illustrations, clean up hero images (#19728)
## Summary

- **New Getting Started section** with quickstart guide and restructured
navigation
- **Halftone-style illustrations** for User Guide and Developer
introduction cards using a Canvas 2D filter script
- **Removed hero images** (`image:` frontmatter + `<Frame><img>` blocks)
from all user-guide article pages
- **Cleaned up translations** (13 languages): removed hero images and
updated introduction cards to use halftone style
- **Cleaned up twenty-ui pages**: removed outdated hero images from
component docs
- **Deleted orphaned images**: `table.png`, `kanban.png`
- **Developer page**: fixed duplicate icon, switched to 3-column layout

## Test plan

- [ ] Verify docs site builds without errors
- [ ] Check User Guide introduction page renders halftone card images in
both light and dark mode
- [ ] Check Developer introduction page renders 3-column layout with
distinct icons
- [ ] Confirm article pages no longer show hero images at the top
- [ ] Spot-check a few translated pages to ensure hero images are
removed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions <github-actions@twenty.com>
2026-04-21 09:13:55 +02:00

154 lines
4.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Çip
---
<Frame>
<img src="/images/user-guide/github/github-header.png" alt="Başlık" />
</Frame>
Etiketleri ve 'tag'leri görüntülemek için, bir etiket metni, isteğe bağlı sol ve sağ bileşenler ve çeşitli stil seçenekleriyle tıklanabilir veya tıklanamaz bir kapsayıcı olarak kullanabileceğiniz görsel bir öğe.
<Tabs>
<Tab title="Kullanım">
```jsx
import { Chip } from 'twenty-ui/components';
export const MyComponent = () => {
return (
<Chip
size="large"
label="Tıklanabilir Chip"
clickable={true}
variant="highlighted"
accent="text-primary"
leftComponent
rightComponent
maxWidth="200px"
className
/>
);
};
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama |
| ------------ | ---------------------------------- | ------------------------------------------------------------------------------------- |
| linkToEntity | dize | Varlığın bağlantısı |
| entityId | dize | Varlık için benzersiz tanımlayıcı |
| i̇sim | dize | Varlığın adı |
| resimUrl | dize | s resim"," |
| avatarTürü | Avatar Türü | Göstermek istediğiniz avatarın türü. İki seçenek var: `yuvarlak` ve `kare` |
| varyant | `EntityChipVariant` numaralandırma | Göstermek istediğiniz varlık çipinin varyantı. İki seçenek var: `düzenli` ve `şeffaf` |
| Sol Simge | IconComponent | Bir simgeyi temsil eden bir React bileşeni. Çipin sol tarafında görüntülenir |
</Tab>
</Tabs>
## Örnekler
### Şeffaf Devre Dışı Çip
```jsx
import { Chip } from 'twenty-ui/components';
export const MyComponent = () => {
return (
<Chip
size="large"
label="Şeffaf Devre Dışı Chip"
clickable={false}
variant="rounded"
accent="text-secondary"
leftComponent
rightComponent
maxWidth="200px"
className
/>
);
};
```
<br />
### Araç İpucuyla Devre Dışı Çip
```jsx
import { Chip } from "twenty-ui/components";
export const MyComponent = () => {
return (
<Chip
size="large"
label="Taştığında araç ipucunu tetikleyen devre dışı Chip."
clickable={false}
variant="regular"
accent="text-primary"
leftComponent
rightComponent
maxWidth="200px"
className
/>
);
};
```
## Varlık Çipi
Bir varlık hakkında bilgi göstermek için bir Çip benzeri öğe.
<Tabs>
<Tab title="Kullanım">
```jsx
import { BrowserRouter as Router } from 'react-router-dom';
import { IconTwentyStar } from 'twenty-ui/display';
import { Chip } from 'twenty-ui/components';
export const MyComponent = () => {
return (
<Router>
<Chip
linkToEntity="/entity-link"
entityId="entityTest"
name="Varlık adı"
pictureUrl=""
avatarType="rounded"
variant="regular"
LeftIcon={IconTwentyStar}
/>
</Router>
);
};
```
</Tab>
<Tab title="Özellikler">
| Özellikler | Tür | Açıklama |
| ------------ | ---------------------------------- | ------------------------------------------------------------------------------------- |
| linkToEntity | dize | Varlığın bağlantısı |
| entityId | dize | Varlık için benzersiz tanımlayıcı |
| i̇sim | dize | Varlığın adı |
| resimUrl | dize | s resim"," |
| avatarTürü | Avatar Türü | Göstermek istediğiniz avatarın türü. İki seçenek var: `yuvarlak` ve `kare` |
| varyant | `EntityChipVariant` numaralandırma | Göstermek istediğiniz varlık çipinin varyantı. İki seçenek var: `düzenli` ve `şeffaf` |
| Sol Simge | IconComponent | Bir simgeyi temsil eden bir React bileşeni. Çipin sol tarafında görüntülenir |
</Tab>
</Tabs>