## 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>
55 lines
2.6 KiB
Plaintext
55 lines
2.6 KiB
Plaintext
---
|
|
title: Seleziona
|
|
---
|
|
|
|
<Frame>
|
|
<img src="/images/user-guide/what-is-twenty/20.png" alt="Intestazione" />
|
|
</Frame>
|
|
|
|
Permette agli utenti di scegliere un valore da un elenco di opzioni predefinite.
|
|
|
|
<Tabs>
|
|
<Tab title="Utilizzo">
|
|
|
|
```jsx
|
|
import { IconTwentyStar } from 'twenty-ui/display';
|
|
|
|
import { Select } from '@/ui/input/components/Select';
|
|
|
|
export const MyComponent = () => {
|
|
|
|
return (
|
|
<Select
|
|
className
|
|
disabled={false}
|
|
label="Seleziona un'opzione"
|
|
options={[
|
|
{ value: 'option1', label: 'Opzione A', Icon: IconTwentyStar },
|
|
{ value: 'option2', label: 'Opzione B', Icon: IconTwentyStar },
|
|
]}
|
|
value="option1"
|
|
/>
|
|
);
|
|
};
|
|
|
|
```
|
|
|
|
</Tab>
|
|
<Tab title="Props">
|
|
|
|
|
|
| Props | Tipo | Descrizione |
|
|
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| nomeClasse | string | Classe CSS opzionale per uno stile aggiuntivo |
|
|
| disabilitato | booleano | Quando impostato su `true`, disabilita l'interazione dell'utente con il componente |
|
|
| etichetta | stringa | L'etichetta per descrivere lo scopo del componente `Select` |
|
|
| onChange | funzione | La funzione chiamata quando i valori selezionati cambiano |
|
|
| opzioni | array | Rappresenta le opzioni disponibili per il componente `Selected`. È un array di oggetti in cui ogni oggetto ha un `value` (l'identificatore univoco), `label` (l'identificatore univoco) e un `Icon` opzionale |
|
|
| valore | stringa | Rappresenta il valore attualmente selezionato. Dovrebbe corrispondere a una delle proprietà `value` nell'array `options` |
|
|
|
|
|
|
|
|
|
|
</Tab>
|
|
</Tabs>
|