Component
Componente
Un Component è una parte riutilizzabile di un'interfaccia, con una struttura, un comportamento, degli stati e dei limiti chiari.
Un altro esempio
Un componente ProductCard mostra ogni prodotto con la stessa immagine e le stesse regole d'azione.
Parti principali
- 01Foundation or token
- 02Applied component
- 03Visible state and rule
Usalo quando
Usane uno quando un modello o comportamento si ripete e dovrebbe avere una fonte affidabile.
Non usarlo quando
Non trasformare mai ogni semplice wrapper in un componente se non ha significato o riuso.
Nome usato nel codice
<Component /> Prima di spedire
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: Un componente ProductCard mostra ogni prodotto con la stessa immagine e le stesse regole d'azione. Design concept to apply: Componente (Component). Why it fits: Usane uno quando un modello o comportamento si ripete e dovrebbe avere una fonte affidabile. Do not use it when: Non trasformare mai ogni semplice wrapper in un componente se non ha significato o riuso. 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): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Controlla questa richiesta
Review how Componente (Component) is used now. Definition: Un Component è una parte riutilizzabile di un'interfaccia, con una struttura, un comportamento, degli stati e dei limiti chiari. 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.