Drag & Drop
Arrastar & Soltar
Arrastar e soltar permite que as pessoas movam, reorderem ou transfiram um item diretamente. Deve mostrar quando o item é pegado e onde ele pode ser colocado.
pointer events + keyboard alternativeUm exemplo real
Um cartão de tarefa mostra uma prévia quando é pego. Lugares válidos abrem um espaço, e soltar o cartão confirma sua nova ordem.
Partes principais
- 01Acionar
- 02Property change
- 03Timing model
- 04Reduced-motion result
Use-o quando
Use-o quando mover um item no espaço é mais rápido e o resultado pode ser desfeito.
Não o use quando
Nunca faça arrastar e soltar ser o único método. Adicione suporte ao teclado e controles de movimentação claros.
Nome usado no código
pointer events + keyboard alternative 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 Arrastar & Soltar (Drag & Drop). User context: Um cartão de tarefa mostra uma prévia quando é pego. Lugares válidos abrem um espaço, e soltar o cartão confirma sua nova ordem. Design concept to apply: Arrastar & Soltar (Drag & Drop). Why it fits: Use-o quando mover um item no espaço é mais rápido e o resultado pode ser desfeito. Do not use it when: Nunca faça arrastar e soltar ser o único método. Adicione suporte ao teclado e controles de movimentação claros. 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): O padrão cobre apenas o escopo listado. Ele não escolhe o estilo visual, decisão do produto ou exemplo de Vibulary. Unknowns to confirm: Brand limits, amount of content, supported themes and languages, target devices, and design-system rules.
Conferir este pedido
Review how Arrastar & Soltar (Drag & Drop) is used now. Definition: Arrastar e soltar permite que as pessoas movam, reorderem ou transfiram um item diretamente. Deve mostrar quando o item é pegado e onde ele pode ser colocado. 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.