Reactions with a gesture each, a burst when you pick one and a count that rolls. Your own animated images, the same props on web and native, and an Apply button in the time picker.
Once UI 2.5 makes reactions feel alive. Reactions is the row of emoji under a post, a comment or a message, and every reaction in it has its own move: a heart beats, a thumbs-up nods, a laugh shakes, fire flickers. Pick one and it plays, bursts a few copies out of the chip and rolls the count. It works the same on the web and in Once UI Native, and it's coming to Orbit, our own social hub, with reactions its admins upload themselves. It is a non-breaking update.
0:00 / 0:00
Reactions that move
Reactions shows a chip for each reaction in use, with its count, and an add button that opens every option. One reaction per person by default, or several with multiple. The counts follow the viewer's pick at once and settle when your next counts arrive, without counting the pick twice.Leave out value and pass defaultValue instead if you don't need to control it. effect="float" lifts one copy away instead of a burst, which suits a busy chat, and effect="none" keeps it still.
Every reaction has its own move
Known emoji get a gesture that fits: hearts beat, thumbs nod, laughs shake, surprise pops, tears droop, fire flickers, a party spins and a hand waves. Anything else bounces. Reaction is one glyph with its gesture on its own, to play on hover, on a loop or when you say so. Nothing moves when someone has reduced motion turned on.
Your own reactions
A reaction doesn't have to be an emoji. Give it a src, such as an animated WebP, and pick its motion, or draw it yourself with renderGlyph.Next up is Orbit, the social hub we run on Once UI: its admins will set the reactions for every post themselves, adding emoji or uploading an image, naming it and picking how it moves.
On your phone too
The same Reactions and Reaction, with the same props, are in Once UI Native, the preview of Once UI for React Native on npm next.
Also in 2.5
An Apply button in the time panel.DatePicker with time now has Apply, which calls onApply with the picked date and time and closes the DateInput or dropdown it's in. Before, "Back to calendar" was the only way out, and it read as going back rather than confirming.
The time panel stays open. In a DropdownWrapper, the hour and minute steppers, AM/PM and "Back to calendar" closed the dropdown. They don't any more.