Touch Target
Touch Target's a slick component used in other parts of your project that need trigger, like button, link, menu trigger, and more.
Basic
There’s not much to see here directly, but you can check out related components like Button, Link, and others.
Heads up: when you incorporate components such as button, dialog, or menu, and other components that use the TouchTarget
component, the touch target functionality is included automatically. No separate installation required.
Installation
If you hit any issues, make sure you check out the installation guide here.
Manual Installation
And next, you can copy the code below and paste it into your dopest component folder.
Why Use Touch Target?
This component is designed to appear on touch screen devices. If you watched Adam Wathan’s talk at Laracon, you’ll understand its importance. For simplicity, we use this component to enhance button accessibility on touch devices.