Popover
Popover
Um popover é um pequeno painel ligado ao controle que o abriu. Ele pode ter conteúdo organizado e ações sem bloquear a página.
popover attribute / PopoverUm exemplo real
Selecione um avatar para abrir um pequeno perfil. Mostra o cargo da pessoa, detalhes de contato e uma ação Seguir.
Partes principais
- 01Acionar
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Use-o quando
Use-o quando o conteúdo pertence ao lado do seu gatilho e as pessoas podem continuar usando a página.
Não o use quando
Nunca use para uma dica curta apenas com rótulo. Use um tooltip em vez disso.
Nome usado no código
popover attribute / Popover Antes de lançar
Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states.
Outcome: Complete the task with Popover (Popover). User context: Selecione um avatar para abrir um pequeno perfil. Mostra o cargo da pessoa, detalhes de contato e uma ação Seguir. Recommended pattern: Popover (Popover). Why it fits: Use-o quando o conteúdo pertence ao lado do seu gatilho e as pessoas podem continuar usando a página. Do not use it when: Nunca use para uma dica curta apenas com rótulo. Use um tooltip em vez disso. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. 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: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Conferir este pedido
Review how Popover (Popover) is used now. Definition: Um popover é um pequeno painel ligado ao controle que o abriu. Ele pode ter conteúdo organizado e ações sem bloquear a página. Release checks: Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.