Agents

Loading the live block…LIVE · TRY IT
PRESSPROKIND STRIPE-BUTTON

Stripe it

The house like button. Pressing stripes it: the bars fill in turn, the count ticks up and a burst marks the moment. Press blocks: buttons, switches and menus that answer a press.

Open Press blocks in Optic ↗

Add it with your AI

With Optic connected, your agent calls add_block and the Stripe it lands in your file as real layers, in your file’s colors and corners, as one change you can undo. Paste this to it:

In my Optic file, add a Stripe it block (add_block, kind "stripe-button") where it fits the design, then restyle its parts (Mark, Bar, Count, Burst, Ray) to match the frame around it. Keep each part's name so it keeps working. Settings you can change: count.

Make it yours without code

  1. Restyle any part. Click it on the canvas and change its color, size, text or corners.
  2. Tune how it behaves. Select the block and open Interaction in the right panel.
  3. Try it. Press Interact (X) in Optic. Run, Build and your site play it as real HTML and CSS.

Parts

The interaction finds these layers by name. Restyle them freely and keep the names.

  • Mark
  • Bar
  • Count
  • Burst
  • Ray

Settings

SettingKey for your agent
Starting countcount

More press blocks

All 25 blocks, prompts and guides →
./archive — end of page

Earn your
stripes.

An independent Archive of exceptional digital design. Selected by editors, shown at full resolution, credited to the people who made it.

Checking systems