<tap-card>

An expandable card. Tap it to expand to full screen, pull down at the top to close. The expandable slot is only rendered when expanded, and the first element in the default slot is treated as the card header during expansion.

Example

API

The first element in the default slot is treated as the card header during expansion. Its top padding, height, and min-height are animated to include the top safe area in fullscreen mode.

Shadow DOM; Extends GemElement

Other

Type Value
Slot unnamed, expandable
Part card, close
CSS State expand, press