Skip to content
E-012ElementFree

Segmented Pill Switch

Segmented controls (radiogroup) for billing periods, views or themes: a pill thumb glides to the chosen option and, with the spring curve, stretches toward it before settling; arrow keys, Home and End move the selection…

Almost yours

Where should we send the pack?

Etchedy · Free pack request

One email a month with new patterns. Unsubscribe anytime.

Included in your plan

50 sites for €79 only, Compare all plans

Preview Desktop, 1280px

The system behind it

One pattern, your whole brand.

Segmented Pill Switch reads your ACSS tokens, so changing a color, a font or a spacing value once restyles it everywhere. No hard-coded values, nothing to override.

Type
Element
Category
Switches
Responsive
Desktop to phone
Works with
Etch, ACSS, plain CSS

Options 10

Set on the section, in Etch’s attributes panel. No code needed.

data-theme
lightdark

surface of the showcase section

data-align
centerstartend

alignment of the switches

data-style
softoutlineglasssolid

track surface

data-tone
primaryinkaccent

colour of the thumb

data-size
sml

size

data-full
truefalse

stretch every switch to the full row width with equal options

data-speed
numberdefault 420

ms · thumb glide time

data-easing
springsmoothsnappy

thumb curve

data-anim
risefadenone

entrance

data-default
number

0-based option shown first

Component props 1

Only the repeating unit is a component. Duplicate, reorder or delete it in Layers and edit these props.

Segment Option8 in this pattern · 6 props
PropTypeDefault
label
text

Monthly

value
text

monthly

showIcon
true / false

False

icon
text

list

showBadge
true / false

False

badge
text

-20%

Free pattern. Yours to use on any site, no plan needed.

Included in Pro From €39 a year, with all 469 patterns.

Get Pro

More patterns

Keep browsing.

L-000

Quick View

Desktop, 1440px
Pro
demo.etchedy.com

The real preview of this pattern. Every pattern adapts to your ACSS tokens.

Unlock with ProSee plansIncluded in your plan