01.1Block 01.1 · Heroes
Impression Hero
A studio’s hero on a full-bleed board of brass pins. The brand word rises out of it under a raking lamp, and the visitor’s hand lifts the pins between the nav and the headline.
- Version
- 0.1.0
- Size
- 120.5 KB gzipped
- Access
- With a Pass
- Needs
- impression-hero.mjs + impression-hero.css · Pin Screen
- Tests
- 11 tests · 9 states
On this page
Use it
Open a studio, maker or brand site with its name as an object rather than a logo: the word is physically there, lit and shadowed, and the first thing a visitor does is run a hand across it, while the headline, the pitch and the way in stay quiet, legible and out of its way.
Copy the impression-hero folder and the pin-screen folder from its package next to your page, link the stylesheets and mount it on an element. Every option has a default; the lab’s Code tab writes the same example at any settings, and for React, Vue, Svelte or a custom element (Using a framework).
<link rel="stylesheet" href="pin-screen/pin-screen.css">
<link rel="stylesheet" href="impression-hero/impression-hero.css">
<div id="impression-hero"></div>
<script type="module">
import PinScreen from './pin-screen/pin-screen.mjs';
import { mount } from './impression-hero/impression-hero.mjs';
const impressionHero = mount(document.getElementById('impression-hero'), {
brand: 'Tallow',
word: 'TALLOW',
eyebrow: 'Industrial design & small-batch fabrication',
}, { PinScreen });
// impressionHero.update({ … }); change any option in place
// impressionHero.destroy(); and take it away again
</script>Options
| Option | Type | Default | What it does |
|---|---|---|---|
| brand | text | 'Tallow' | The wordmark in the nav. |
| word | text | 'TALLOW' | Stands out of the pins. Short and wide reads best. |
| eyebrow | text | 'Industrial design & small-batch fabrication' | Eyebrow |
| headline | text | 'Things made to be' | Headline |
| accent | text | 'touched.' | The last words, in the lamp’s colour. |
| lede | text | 'Furniture, lighting and hardware for people who notice the weight of a drawer pull: designed in Sheffield, and the first hundred of everything built by our own hands.' | One line of copy |
| cta | text | 'See the work' | Button |
| href | text | '#work' | Button link |
| nav | text | 'Work, Studio, Journal' | Comma-separated, up to five. |
| contact | text | 'Start a project' | Nav button |
| meta | text | 'Est. 2014, Sheffield, UK' | Corner note |
| finish | brass · steel · ink | 'brass' | Brass on warm black, steel on cool black, blackened steel with a signal accent. |
| light | number, 0 to 345 | 300 | 0 is from above, clockwise. |
| pitch | number, 8 to 24 | 13 | The largest pitch; small screens go finer. |
| depth | number, 0.3 to 1 | 0.8 | Relief depth |
| keep | boolean | false | What the hand presses stays, like the real toy. |
Methods
mount(element, options, { PinScreen })- Builds the block inside the element and returns its handle. Hand it the Pin Screen it is built with.
handle.update(next = {})- Change options in place.
handle.boardhandle.roothandle.destroy()- Stops it and cleans up after it.
States
- ArrivingThe word rises in a left-to-right wave within a second of the section appearing; the eyebrow, headline, copy and button follow it up at 0.55–1.1 s.
- At restThe word stands proud in the pins; the board is asleep and costs nothing.
- Hand over the boardPins lift in a 150px disc around the pointer, brighter, on visible shafts, casting longer shadows; they let go after it leaves (or stay, with keep).
- Hover and focusLinks go from muted to ink; the button fills with the hover colour and its arrow slides; every link shows a 2px focus ring.
- PaletteBrass on warm black, steel on cool black, or blackened steel with a signal accent: one table, applied as custom properties.
- TabletOne column under 960px: the headline, then copy and button, then the notes as a row.
- PhoneUnder 640px the board takes the top two thirds with finer pins, the copy sits on solid ground below, the nav drops to a quiet second row and the button goes full width.
- Reduced motionThe word is standing on the first paint and the pins ignore the pointer; the copy has no entrance. Every word is present.
- Off screenThe board's loop pauses; the block runs nothing of its own.
How it works
Made of: Pressed brand word, Full bleed object hero, Scrim framing, Container query recomposition, Arrival choreography, Palette from pin finish.
Read more: How the Pin Screen works.
Original composition; Tallow, its studio and its copy are invented. The only imagery is the Pin Screen drawing the word in canvas. Faces: Gloock and Bricolage Grotesque (SIL OFL 1.1) as WOFF2, licences beside them.
Built with
More blocks on the same object: