Component
Componente
Un Componente es una pieza reutilizable de una interfaz con estructura, comportamiento, estados y límites claros.
Otro ejemplo
Un componente ProductCard muestra cada producto con la misma imagen y reglas de acción.
Partes principales
- 01Foundation or token
- 02Applied component
- 03Visible state and rule
Úsalo cuando
Usa uno cuando un patrón o comportamiento se repite y debería tener una fuente confiable.
No lo uses cuando
Nunca conviertas cada envoltorio sencillo en un componente si no tiene significado o reutilización.
Nombre usado en código
<Component /> Antes de lanzarlo
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 muestra cada producto con la misma imagen y reglas de acción. Design concept to apply: Componente (Component). Why it fits: Usa uno cuando un patrón o comportamiento se repite y debería tener una fuente confiable. Do not use it when: Nunca conviertas cada envoltorio sencillo en un componente si no tiene significado o reutilización. 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): Ningún estándar oficial único controla todo el término. Su significado puede cambiar según equipos, plataformas o marcos. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Revisa esta petición
Review how Componente (Component) is used now. Definition: Un Componente es una pieza reutilizable de una interfaz con estructura, comportamiento, estados y límites 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.