Visit strip
A yellow strip with a big orange uppercase call and an orange button whose arrow slides on hover.
Part of the style
Pixel Map Yellow
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/pixel-map-yellow/visit/figma.html?palette=c29612d7af2cdea1
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/pixel-map-yellow/visit/figma.html?palette=c29612d7af2cdea1 and pass that whole HTML document to the html_to_figma tool, so the part "Visit strip" lands as editable layers in my open Figma file. Fonts come from Google Fonts: if a face is missing in Figma, pick the closest one.
Code
<style>
/* Goes after the pack's base.css */
:root {
--paper: #38545c;
--ink: #f3f8e6;
--white: #031f26;
--field: #3e5a61;
--ink-soft: rgba(243, 248, 230, 0.6);
--flame: #4c7477;
--sun: #4c7477;
--sun-pale: #4e6c6e;
--sea: #4c7477;
--sky: #4c7477;
}
</style>
<section class="visit">
<div class="visit__strip">
<h2 class="visit__call">Walk the first season</h2>
<a class="visit__button" href="#">
<span>Open the archive</span>
<svg class="visit__arrow" viewBox="0 0 20 12" aria-hidden="true"><path d="M0 6h17M12 1l5 5-5 5"/></svg>
</a>
</div>
</section>
<style>
.visit {
padding: var(--space-l) var(--edge);
background: var(--paper);
}
.visit__strip {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: var(--space-m);
padding: var(--space-m);
background: var(--sun);
}
.visit__call {
margin: 0;
color: var(--flame);
font-size: var(--display-m);
font-weight: 400;
line-height: var(--leading-tight);
text-transform: uppercase;
}
.visit__button {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: var(--space-l);
min-width: 188px;
min-height: var(--button-h);
padding: 0 var(--space-m);
border-radius: var(--radius);
background: var(--flame);
color: var(--white);
font-size: var(--text-xs);
text-decoration: none;
text-transform: uppercase;
transition: background-color var(--quick) var(--ease);
}
.visit__arrow {
width: 20px;
height: 12px;
fill: none;
stroke: currentColor;
stroke-width: 1.4;
transition: transform var(--quick) var(--ease);
}
.visit__button:hover,
.visit__button:focus-visible { background: var(--ink); }
.visit__button:hover .visit__arrow,
.visit__button:focus-visible .visit__arrow { transform: translateX(4px); }
.visit__button:focus-visible {
outline: var(--rule) solid var(--ink);
outline-offset: 3px;
}
@media (max-width: 48rem) {
.visit__strip {
flex-direction: column;
align-items: stretch;
gap: var(--space-l);
padding: var(--space-m) var(--space-m) var(--space-l);
}
}
</style>