Skip to content
Library

Button: underline

An ACSS button with a faint line under its label; on hover a solid one draws over it, left to right.

ComponentEffects

Live preview

Variant
Scheme
Width
Motion
etchpress.com/library/button-underline
Button: underline

What you can build with it

A quiet secondary action beside a louder primary one. A text-led button for editorial or legal sites. A navigation call to action in a header.

Props

label (text); href (url); style (select: primary, outline); size (select: default, large)

States shown

Rest, hover, focus, active. Reduced motion: the underline appears without drawing.

How to change it

Content and options are 4 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-underline.

ACSS tokens used

ACSS button tokens (–btn-*), –primary, –on-primary, –white, –black, –transition.

ACSS requirements

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

Version history

Version 1.1.0, September 30, 2026: A faint line sits under the label at rest and a solid 2 px line draws over it on hover. Version 1.0.0, September 28, 2026: First release.

Tested with

Etch 1.6.7 and ACSS 4.0.1. Version 1.1.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.