Let it linger.
Hold the button. Release for a soft light decay.
Interaction lab
Press, release, choose, drag, complete. A little extra light at the moment it matters.
Touch and keyboard welcome. Reduced motion skips animated blooms. These examples use unreleased repository features.
Hold the button. Release for a soft light decay.
A green response after the action succeeds.
A brief rose-colored response, with a clear message.
An amber pulse draws attention to a warning.
A gentle edge stays with the selected state.
Drag or use arrow keys. Reach 100 for a completion pulse.
Hold for one second to confirm. Release early to cancel.
Ready.
A simulated upload builds toward one final bloom.
Ready.
A quiet edge follows focus into your existing field.
Bring attention to a new message without moving it.
const [feedback] = brightenFeedback(button);
// Call after your application action succeeds:
feedback.flash('success');
feedback.select(true);
feedback.destroy();No application actions, sounds, vibration, or third-party UI dependencies are added by the helper. Existing focus indicators remain visible.