Skip to content
Added 4 Aug 2026
Back to library
ocean-ticket-stub-8471
Ocean Ticket Stub
Masks & Clip Paths

Ocean Ticket Stub

Two radial masks bite notches out of an ocean ticket, with a dashed tear line between halves.

Masks & Clip Pathsmaskticketnotchcouponradial maskocean
lines of CSS
32lines of CSS
dependencies
0dependencies
baseline browsers
Newlybaseline browsers
motion only on interaction
Hovermotion only on interaction
Backdrop
HOVERLABRow C · Seat 14
A7
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

ocean-ticket-stub-8471.css
.fx-v5-mask-ticket-ocean-8470 {
  display: flex;
  width: 240px;
  height: 96px;
  border-radius: 0.7rem;
  background: linear-gradient(120deg, #0ea5e9, #6366f1);
  -webkit-mask:
    radial-gradient(circle 9px at 168px 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 9px at 168px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 9px at 168px 0, transparent 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 9px at 168px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.fx-v5-mask-ticket-ocean-8470 .l {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0 0.9rem;
  border-right: 2px dashed rgba(11,17,32,0.35);
}
.fx-v5-mask-ticket-ocean-8470 .r {
  width: 72px;
  display: grid;
  place-items: center;
}
.fx-v5-mask-ticket-ocean-8470 b { font-size: 0.92rem; font-weight: 800; letter-spacing: 0.06em; color: #0b1120; }
.fx-v5-mask-ticket-ocean-8470 span { font-size: 0.72rem; color: rgba(11,17,32,0.7); }
.fx-v5-mask-ticket-ocean-8470 .r b { font-size: 1.3rem; }
.fx-v5-mask-ticket-ocean-8470:hover { transform: translateY(-3px); filter: brightness(1.08); }
ocean-ticket-stub-8471.html
<div class="fx-v5-mask-ticket-ocean-8470">
  <div class="l">
    <b>HOVERLAB</b>
    <span>Row C · Seat 14</span>
  </div>
  <div class="r">
    <b>A7</b>
  </div>
</div>

What do I do with this?

  1. Put ocean-ticket-stub-8471.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v5-mask-ticket-ocean-8470">. The CSS does nothing until a class name in it matches something on the page.
  • Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add ocean-ticket-stub-8471

What's included

  • The markup and the stylesheet, in whichever framework you pick
  • No runtime dependencies

Works with

  • React
  • Vue
  • Svelte
  • Tailwind
  • styled-components
  • Plain CSS

npx hoverlab add ocean-ticket-stub-8471

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Brief motion, no guard

Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.

What it animates
Compositor only

Only transform, opacity or filter: the GPU can run it without re-laying-out or repainting the page.

Flashing (WCAG 2.3.1)
No flashing found

No repeating change in opacity, colour or brightness large enough to count as a flash.

Layout shift (CLS)
No shift expected

Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.

Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed

30 more effects in Masks & Clip Paths

All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.

Browse Masks & Clip Paths

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

7 variations of Ocean Ticket Stub

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.