Use it as the last ask of a booking page. It takes nights (id, date, time, places, left), headline words, imprint lines, form texts, a poster image and onHold and onRelease callbacks. Variants fringe, side and last-one.
When not to use
It books one dated slot with an email. For a waitlist without dates use Peel.
Use Take one as the closing ask of a booking site: a class, a tasting, a tour. A poster pasted on a
wall has its bottom edge cut into tear-off tabs, one per date; a full date is a ragged stub. Tearing
a tab lays it on the sheet as the form, and once the place is held the tab turns over into the
ticket.
onHold runs once the address passes validation, onRelease when the place is put back. locale
(BCP 47) sets the weekday and month names. Fonts come from the CSS variables --t1-display and
--t1-mono on the section.
The demo images stay on this site and are not installed: pass your own through the props below.
Prop
Type
Ratio
Transparent
Max weight
Notes
image
{ src: string; alt: string }
any, portrait works best
no
500 KB
Photograph or illustration printed on the poster; optional.
The image is printed on the right of the poster and fades into the paper: a picture on a light,
plain ground reads best, and colors.paper should match that ground. image.position sets the CSS
object-position. Without an image the poster is type only. Use WebP or JPEG.
Every colour is a prop and takes any CSS colour: hex, RGB, HSL or OKLCH. wall is behind the
poster (and seen through missing tabs), paper the poster and tabs, ink the print, accent the
submit block and the live weekday, shadow the cast shadows (never black), paste the wheat-paste
stain, pencil the validation notes.
stack: the poster fills the width and the image sits under the headline. On touch screens a tap tears a tab and a drag across the fringe lifts the paper; vertical scroll is never blocked.