Pressable Feedback
Give a press a tactile response and keep its selected state visible.
HTML
<button class="rl-pressable" type="button" aria-pressed="false" data-rl-pressable><span data-rl-press-icon aria-hidden="true">☆</span> Star report</button>Use in your app
Copy these tags into your page head once. Serve the files at the paths shown, then add the example’s template to your page.
Page assets
<link rel="stylesheet" href="/mero.css">
<link rel="stylesheet" href="/mero-insights.css">
<script defer src="/mero.js"></script>
<script defer src="/mero-insights.js"></script>