Component
Componente
Um Componente é uma parte reutilizável de uma interface com estrutura, comportamento, estados e limites claros.
Outro exemplo
Um componente ProductCard mostra cada produto com a mesma imagem e regras de ação.
Partes principais
- 01Foundation or token
- 02Applied component
- 03Visible state and rule
Use-o quando
Use um quando um padrão ou comportamento se repete e deve ter uma fonte confiável.
Não o use quando
Nunca transforme todo wrapper simples em um componente se ele não tiver significado ou reutilização.
Nome usado no código
<Component /> Antes de lançar
Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience.
Outcome: Complete the task with Componente (Component). User context: Um componente ProductCard mostra cada produto com a mesma imagem e regras de ação. Design concept to apply: Componente (Component). Why it fits: Use um quando um padrão ou comportamento se repete e deve ter uma fonte confiável. Do not use it when: Nunca transforme todo wrapper simples em um componente se ele não tiver significado ou reutilização. Design requirements: Set the content order, shared design values, and reusable components. Define how the layout changes by screen size and state. Keep useful design choices separate from decoration. Inclusion and resilience: Check contrast, zoom, languages, themes, and reduced motion when needed. Do not use color or effects as the only way to show meaning. Acceptance criteria: The design stays clear on phones and desktops, at zoom, in every theme, and in all supported languages. Interactive states stay clear and consistent. Evidence and limits (evidence boundary): Nenhum padrão oficial único controla todo o termo. Seu significado pode mudar entre equipes, plataformas ou frameworks. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Conferir este pedido
Review how Componente (Component) is used now. Definition: Um Componente é uma parte reutilizável de uma interface com estrutura, comportamento, estados e limites claros. Release checks: Check content order, shared design values, component consistency, contrast, zoom, and layout changes by screen size. Verify every theme, language, and state. If there is motion, offer an equal reduced-motion experience. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.