Feed strip
A label on the left, an underlined handle on the right, and a row of five thin-framed tall tiles: drawn posters, a cassette and two archive photographs in the same night duotone. A snapping rail on phones.
Part of the style
Night Chart Console
7 parts that belong together, with their tokens, type and rules.
https://kitbash.me/components/night-chart-console/feed/figma.html?palette=c29612d7af2cdea1
Use the Figma MCP server (https://mcp.figma.com/mcp). Download https://kitbash.me/components/night-chart-console/feed/figma.html?palette=c29612d7af2cdea1 and pass that whole HTML document to the html_to_figma tool, so the part "Feed 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 {
--night: #38545c;
--paper: #f3f8e6;
--paper-dim: rgba(243, 248, 230, 0.6);
--paper-faint: rgba(243, 248, 230, 0.36);
--night-dim: rgba(56, 84, 92, 0.6);
--night-faint: rgba(56, 84, 92, 0.4);
--smoke: #556e76;
--fog: #edf1df;
--wordmark-shade: #d9decb;
--map-ghost: #bcc0ad;
--retro-face: #d1d5c2;
--retro-chip: #ebefdd;
--retro-edge: #a3a893;
--scene-sky: #4c7477;
--scene-sea: #5c7374;
--retro-bar: #1c7a81;
--retro-bar-end: #39787d;
--map-line: #548487;
--scene-glow: #87b1b4;
--map-live: #add0d2;
--scene-lamp: #61d2da;
--scene-amber: #a0cacd;
}
</style>
<section class="feed">
<header class="feed__head">
<h2 class="feed__label">Stay up</h2>
<a class="feed__handle" href="#">@smallhours.radio</a>
</header>
<ul class="feed__rail">
<li class="feed__item">
<a class="feed__tile feed__tile--photo" href="#" aria-label="Photo: a crowd dancing on the quay at night">
<img class="feed__art feed__photo" src="assets/quay-dance.jpg" alt="" width="520" height="402" style="--focus: 40% 50%">
</a>
</li>
<li class="feed__item">
<a class="feed__tile" href="#" aria-label="Poster for the November broadcast">
<svg class="feed__art" viewBox="0 0 240 270" preserveAspectRatio="xMidYMid slice" aria-hidden="true" focusable="false">
<defs>
<linearGradient id="feed-fade" x1="0" y1="0" x2="0" y2="1">
<stop class="feed__stop-night" offset="0.5" />
<stop class="feed__stop-shade" offset="1" />
</linearGradient>
</defs>
<rect width="240" height="270" fill="url(#feed-fade)" />
<path class="feed__dots" d="M24 30h.1M58 18h.1M96 44h.1M140 22h.1M214 36h.1M30 96h.1M206 104h.1M16 150h.1M222 160h.1M84 186h.1M168 196h.1" />
<g class="feed__glyph">
<path d="M42 84a26 26 0 0 1 52 0M52 84a16 16 0 0 1 32 0M61 84a7 7 0 0 1 14 0" />
<circle cx="150" cy="128" r="30" />
<circle cx="150" cy="128" r="21" />
<circle cx="150" cy="128" r="12" />
<path d="M150 128l24-18" />
<path d="M56 150h56l-8 16H64zM84 150v-34M84 120l18 22" />
<path d="M196 52v12M190 58h12M110 204v10M105 209h10" />
</g>
<path class="feed__solid" d="M186 70a20 20 0 1 0 24 26 17 17 0 0 1-24-26z" />
<circle class="feed__solid" cx="150" cy="128" r="3" />
<text class="feed__script feed__script--dark" x="16" y="246">Small Hours</text>
<text class="feed__small feed__small--dark" x="18" y="260">Nov 28th 11:00pm</text>
</svg>
</a>
</li>
<li class="feed__item">
<a class="feed__tile feed__tile--photo" href="#" aria-label="Photo: the island light under a storm">
<img class="feed__art feed__photo" src="assets/island-light.jpg" alt="" width="700" height="394" style="--focus: 62% 50%">
</a>
</li>
<li class="feed__item">
<a class="feed__tile" href="#" aria-label="Poster for the October broadcast">
<svg class="feed__art" viewBox="0 0 240 270" preserveAspectRatio="xMidYMid slice" aria-hidden="true" focusable="false">
<defs>
<linearGradient id="feed-rise" x1="0" y1="0" x2="0" y2="1">
<stop class="feed__stop-clear" offset="0.72" />
<stop class="feed__stop-paper" offset="1" />
</linearGradient>
</defs>
<rect class="feed__ground" width="240" height="270" />
<path class="feed__dots" d="M20 40h.1M222 28h.1M34 126h.1M208 118h.1M26 190h.1M214 184h.1M58 152h.1M186 148h.1M72 108h.1M170 214h.1" />
<text class="feed__script" x="120" y="44" text-anchor="middle">Small Hours</text>
<text class="feed__small" x="120" y="62" text-anchor="middle">October 17th 10:30pm</text>
<text class="feed__small" x="120" y="75" text-anchor="middle">Pier Nine, east steps</text>
<text class="feed__small" x="120" y="88" text-anchor="middle">Fog Set feat. O. Marr</text>
<g class="feed__glyph">
<circle cx="120" cy="156" r="44" />
<circle cx="120" cy="156" r="33" />
<circle cx="120" cy="156" r="22" />
<circle cx="120" cy="156" r="11" />
<path d="M120 156l38-22" />
</g>
<circle class="feed__solid" cx="120" cy="156" r="3" />
<rect width="240" height="270" fill="url(#feed-rise)" />
<path class="feed__skyline" d="M0 270v-18h22v-12h14v12h30v-22h10v22h36l8-34 8 34h30v-14h18v14h24v-24h12v24h28v18z" />
</svg>
</a>
</li>
<li class="feed__item">
<a class="feed__tile feed__tile--white" href="#" aria-label="Photo: tape 014 from the shop">
<svg class="feed__art" viewBox="0 0 240 270" preserveAspectRatio="xMidYMid slice" aria-hidden="true" focusable="false">
<g transform="rotate(-8 120 135)">
<rect class="feed__ground" x="36" y="78" width="168" height="110" rx="9" />
<rect class="feed__label-paper" x="52" y="92" width="136" height="60" rx="3" />
<rect class="feed__ground" x="74" y="118" width="92" height="24" rx="12" />
<circle class="feed__hole" cx="90" cy="130" r="7" />
<circle class="feed__hole" cx="150" cy="130" r="7" />
<path class="feed__seam" d="M72 188l9-24h78l9 24" />
<text class="feed__script feed__script--tape" x="120" y="111" text-anchor="middle">Fog Set</text>
</g>
</svg>
</a>
</li>
</ul>
</section>
<style>
.feed {
padding: var(--space-l) 0 var(--section-space);
background: var(--night);
color: var(--paper);
}
.feed__head {
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-s);
margin-bottom: var(--space-m);
padding: 0 var(--gutter);
}
.feed__label {
margin: 0;
font-size: inherit;
font-weight: 400;
text-transform: uppercase;
}
.feed__handle {
display: inline-flex;
align-items: center;
min-height: var(--tap);
color: inherit;
text-decoration: underline var(--frame) currentColor;
text-transform: uppercase;
text-underline-offset: 0.4em;
transition: text-decoration-color var(--time-fast) var(--ease-fast);
}
.feed__handle:hover,
.feed__handle:focus-visible {
text-decoration-color: transparent;
}
.feed__rail {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: var(--gap);
margin: 0;
padding: 0 var(--gutter);
list-style: none;
}
.feed__tile {
display: block;
aspect-ratio: 8 / 9;
overflow: hidden;
border: var(--frame) solid var(--paper);
background: var(--night);
}
.feed__tile--white {
background: var(--paper);
}
.feed__tile:focus-visible {
outline: var(--frame) solid var(--paper);
outline-offset: 3px;
}
.feed__art {
display: block;
width: 100%;
height: 100%;
transition: scale var(--time) ease-out;
}
.feed__tile:hover .feed__art,
.feed__tile:focus-visible .feed__art {
scale: var(--zoom);
}
/* Archive photographs as a night duotone, like the dispatch cards. */
.feed__tile--photo {
position: relative;
background: var(--scene-glow);
isolation: isolate;
}
.feed__tile--photo::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(180deg, var(--night), var(--scene-sky));
mix-blend-mode: screen;
pointer-events: none;
}
.feed__photo {
object-fit: cover;
object-position: var(--focus, 50% 50%);
filter: grayscale(1) contrast(1.4) brightness(0.85);
mix-blend-mode: multiply;
}
/* Drawn pictures. */
.feed__stop-night {
stop-color: var(--night);
}
.feed__stop-sky {
stop-color: var(--scene-sky);
}
.feed__stop-glow {
stop-color: var(--scene-glow);
}
.feed__stop-shade {
stop-color: var(--wordmark-shade);
}
.feed__stop-paper {
stop-color: var(--paper);
}
.feed__stop-clear {
stop-color: var(--paper);
stop-opacity: 0;
}
.feed__ground,
.feed__crowd,
.feed__roof,
.feed__skyline {
fill: var(--night);
}
.feed__crowd-far {
fill: var(--scene-sea);
}
.feed__wire,
.feed__gulls {
fill: none;
stroke: var(--paper-dim);
stroke-width: 1;
}
.feed__gulls {
stroke: var(--night);
stroke-linecap: round;
stroke-width: 1.5;
}
.feed__bulbs,
.feed__dots {
fill: none;
stroke: var(--scene-amber);
stroke-linecap: round;
stroke-width: 5;
}
.feed__dots {
stroke: var(--paper);
stroke-width: 1.6;
}
.feed__bokeh {
fill: var(--scene-amber);
opacity: 0.32;
}
.feed__bokeh--red,
.feed__lamp,
.feed__halo {
fill: var(--scene-lamp);
}
.feed__halo {
opacity: 0.3;
}
.feed__rig {
fill: none;
stroke: var(--night);
stroke-width: 2.5;
}
.feed__lit {
fill: var(--scene-amber);
}
.feed__glyph {
fill: none;
stroke: var(--paper);
stroke-linejoin: round;
stroke-width: 1.6;
}
.feed__solid,
.feed__hole {
fill: var(--paper);
}
.feed__label-paper {
fill: var(--wordmark-shade);
}
.feed__seam {
fill: none;
stroke: var(--smoke);
stroke-width: 2;
}
.feed__script {
fill: var(--paper);
font: italic 700 30px var(--font-script);
}
.feed__script--dark,
.feed__script--tape {
fill: var(--night);
}
.feed__script--tape {
font-size: 16px;
}
.feed__small {
fill: var(--paper);
font: 500 9.5px var(--font-label);
}
.feed__small--dark {
fill: var(--night);
}
/* Below tablet width the row becomes a rail that snaps tile by tile. */
@media (max-width: 48rem) {
.feed__rail {
grid-auto-columns: min(72vw, 20rem);
grid-auto-flow: column;
grid-template-columns: none;
overflow-x: auto;
overscroll-behavior-x: contain;
scroll-padding-inline: var(--gutter);
scroll-snap-type: x mandatory;
scrollbar-width: none;
}
.feed__item {
scroll-snap-align: start;
}
}
@media (prefers-reduced-motion: reduce) {
.feed__art,
.feed__handle {
transition-duration: 0s;
}
.feed__tile:hover .feed__art,
.feed__tile:focus-visible .feed__art {
scale: 1;
}
}
</style>