Read page as text

NIB / PLAYGROUND

Hover card playground — NibComponents

Try hover card in Flutter. Reveal extra context after hover intent, with a path for touch and keyboard users.

Open interactive view

Reveal extra context after hover intent, with a path for touch and keyboard users.

Read the full component guide and API

Public widgets and APIs

  • NibHoverCard
  • NibHoverCardPlacement
  • NibHoverCardController

Example Dart code

NibHoverCard(
  trigger: const Text('@ada'),
  content: const Text('Writes examples and reviews patches.'),
  showDelay: const Duration(milliseconds: 500),
  hideDelay: const Duration(milliseconds: 300),
  semanticLabel: 'Contributor profile',
)

Playground controls

ControlTypeOptions or rangeHelp
Profile headingtext
Preferred sidechoicebottom, top, start, end
Hover delay in millisecondsnumber0.0–1000.0
Animate opening and closingtoggle