5d438bb70c
## 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>
94 lines
1.4 KiB
Plaintext
94 lines
1.4 KiB
Plaintext
---
|
|
title: Icons
|
|
icon: "icons"
|
|
---
|
|
<Frame>
|
|
<img src="/images/user-guide/objects/objects.png" alt="Header" />
|
|
</Frame>
|
|
|
|
A list of icons used throughout our app.
|
|
|
|
## Tabler Icons
|
|
|
|
We use Tabler icons for React throughout the app.
|
|
|
|
<Tabs>
|
|
|
|
<Tab title="Installation">
|
|
<br/>
|
|
|
|
```
|
|
yarn add @tabler/icons-react
|
|
```
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Props">
|
|
|
|
You can import each icon as a component. Here's an example:
|
|
<br />
|
|
|
|
```jsx
|
|
import { IconArrowLeft } from "@tabler/icons-react";
|
|
|
|
export const MyComponent = () => {
|
|
return <IconArrowLeft color="red" size={48} />;
|
|
};
|
|
```
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Props">
|
|
|
|
|
|
| Props | Type | Description | Default |
|
|
|-------|------|-------------|--------|
|
|
| size | number | The height and width of the icon in pixels | 24 |
|
|
| color | string | The color of the icons | currentColor |
|
|
| stroke | number | The stroke width of the icon in pixels | 2 |
|
|
|
|
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|
|
|
|
|
|
## Custom Icons
|
|
|
|
In addition to Tabler icons, the app also uses some custom icons.
|
|
|
|
### Icon Address Book
|
|
|
|
Displays an address book icon.
|
|
|
|
<Tabs>
|
|
|
|
<Tab title="Usage">
|
|
|
|
```jsx
|
|
import { IconAddressBook } from 'twenty-ui/display';
|
|
|
|
export const MyComponent = () => {
|
|
return <IconAddressBook size={24} stroke={2} />;
|
|
};
|
|
```
|
|
|
|
</Tab>
|
|
|
|
<Tab title="Props">
|
|
|
|
|
|
| Props | Type | Description | Default |
|
|
|-------|------|-------------|--------|
|
|
| size | number | The height and width of the icon in pixels | 24 |
|
|
| stroke | number | The stroke width of the icon in pixels | 2 |
|
|
|
|
|
|
|
|
</Tab>
|
|
|
|
</Tabs>
|
|
|