Files
twenty/packages/twenty-docs/l/pt/twenty-ui/input/select.mdx
T
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

55 lines
2.6 KiB
Plaintext

---
title: Selecionar
---
<Frame>
<img src="/images/user-guide/what-is-twenty/20.png" alt="Cabeçalho" />
</Frame>
Permite aos utilizadores escolher um valor a partir de uma lista de opções pré-definidas.
<Tabs>
<Tab title="Uso">
```jsx
import { IconTwentyStar } from 'twenty-ui/display';
import { Select } from '@/ui/input/components/Select';
export const MyComponent = () => {
return (
<Select
className
disabled={false}
label="Selecione uma opção"
options={[
{ value: 'option1', label: 'Opção A', Icon: IconTwentyStar },
{ value: 'option2', label: 'Opção B', Icon: IconTwentyStar },
]}
value="option1"
/>
);
};
```
</Tab>
<Tab title="Propriedades">
| Propriedades | Tipo | Descrição |
| ------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| className | string | Classe CSS opcional para estilização adicional. |
| desativado | booleano | Quando definido como `true`, desativa a interação do utilizador com o componente |
| etiqueta | string | A etiqueta para descrever o propósito do componente `Selecionar` |
| aoAlterar | função | A função chamada quando os valores selecionados são alterados |
| opções | array | Representa as opções disponíveis para o componente `Selected`. É uma matriz de objetos onde cada objeto tem um `valor` (o identificador único), `etiqueta` (o identificador único) e um `Ícone` opcional |
| valor | string | Representa o valor atualmente selecionado. Deverá corresponder a uma das propriedades `valor` na matriz `opções` |
</Tab>
</Tabs>