Props
Accessibility
Ready
Localization
TapAreas with link role announce to assistive technologies that the link opens in a new tab when setting target to 'blank'. Localize the default label with DefaultLabelProvider. Learn more
Variants
Basic TapArea
Alberto's Profile
If you have a Link
or Button
inside of TapArea, you can apply e.stopPropagation()
so the onTap
doesn't get triggered.
TapArea with link interaction can be paired with OnLinkNavigationProvider. See OnLinkNavigationProvider to learn more about link navigation.
Touched 0 times
Roles & compress behavior
Height & width
Full parent height
Child height only
Inline usage
While TapArea doesn't provide an inline
prop, this behavior can be achieved by wrapping with <Box display="inlineBlock">
.
Other content
Default behavior (block)
Other content
Inline behavior
Mouse cursor
mouseCursor="copy"
copy
mouseCursor="grab"
grab
mouseCursor="grabbing"
grabbing
mouseCursor="move"
move
mouseCursor="noDrop"
noDrop
mouseCursor="pointer"
pointer
mouseCursor="zoomIn"
zoomIn
mouseCursor="zoomOut"
zoomOut
Rounding
rounding={0}
0
rounding={1}
1
rounding={2}
2
rounding={3}
3
rounding={4}
4
rounding={5}
5
rounding={6}
6
rounding={7}
7
rounding={8}
8
rounding="circle"
circle
rounding="pill"
pill
Ref
TapArea is focused 0 times
Accessibility: label, controls, expanded, & popup

Menu
Component quality checklist
Quality item | Status | Status description |
---|---|---|
Figma Library | Component is not currently available in Figma. | |
Responsive Web | Ready | Component is available in code for web and mobile web. |
iOS | Component is not currently available in code for iOS. | |
Android | Component is not currently available in code for Android. |
Related
OnLinkNavigationProvider
OnLinkNavigationProvider allows external link navigation control across all children components with link behavior.