Skip to content
Library

Button: roll

An ACSS button whose label rolls up and out on hover while a second one rolls in from below: the same words, or a second message you set.

ComponentEffects
etchpress.com/library/button-roll
Button: roll

What you can build with it

A primary call to action that answers the hesitation on hover ("It takes two minutes"). A header button that repeats its label with a little life. An outline button beside a plain one, so one of the pair moves.

Props

label (text); hoverLabel (text, optional: a second message, empty repeats the label); href (url); style (select: primary, outline); size (select: default, large)

States shown

Rest, hover, focus, active. The second label is hidden from screen readers, which read the first. Reduced motion: the label stays put.

How to change it

Content and options are 5 props in the component's settings panel. Colour, type, spacing and radius follow your Automatic.css settings, so a change to the site's palette or scale changes this too. For anything else, edit the classes in the Style Manager, starting with .button-row, .motion-btn, .motion-btn-roll.

ACSS tokens used

ACSS button tokens (–btn-*), –transition; –ep-ease-in-out with a fallback.

ACSS requirements

ACSS 4 defaults with its button classes. Nothing to install.

Version history

Version 1.0.0, September 30, 2026: First release.

Tested with

Etch 1.6.7 and ACSS 4.0.1. Version 1.0.0.

Lifetime members

Members copy this straight into Etch, ready to paste.

Used an earlier version? How to update it

Get lifetime access
Other builders

Want EtchPress for Bricks or the block editor?

Everything here is made for Etch. Pick the builder you use and leave your email: we write once, when EtchPress works there.

This field is required.