Swipe To Reveal Buttons
A production-scale, light + dark Swipe To Reveal Buttons component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add swipe-to-reveal-buttonsLive preview available in the gallery.
Usage
import { SwipeToRevealButtons } from "@lerpa/ui";
<SwipeToRevealButtons />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | — | |
| title | string | — | |
| sender | string | — | |
| time | string | — | |
| onAction | (action: 'pin' | 'mute' | 'delete') => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.