A dark one-page website for a Japanese tea house: a matcha bowl you whisk yourself, a framed menu of drawn cups, three tea farms and an ink rail that brushes each section in.
React + HTML
$69
Adresse de la page : /
Suite plus bas ↓
Intégré
Ce que vous obtenez
Sombre uniquementConçu pour une page sombre
Ordinateur, tablette et téléphoneLes écrans pour lesquels il est conçu
Paquets…
Taille du code…
Économe en batterie30 i/s, au repos quand rien ne bouge
Pause quand masquéHors écran ou autre onglet
Mouvement réduitCalme pour ceux qui le demandent
Vérifié à chaque modification
Vérification des typesTypeScript strict
Lint et formatESLint · Prettier
Tests et buildCaptures claires et sombres
Audit de sécuritéAucune vulnérabilité élevée ou critique
Ancienneté des paquetsChaque version publique depuis 7 jours ou plus
CPU au reposMoins d’un demi-cœur au repos, ≤ 30 i/s
Code
Un problème avec ce template ? Envoyer un avis ›
matcha-steamHTML
index.htmlpageThe page and all its text, one marked block per section.
theme.cssthemeThe colors and fonts in one place.
send.jsformThe one function the form calls: plug in your form endpoint here.
sectionssectionsOne file per page section.
fields.csssectionThe farms: three drawn tea fields with their place names, and the numbers that count up below.
footer.csssectionThe footer: the name in vertical characters with its seal, what it means, the links and the legal line.
hero.csssectionThe first screen: the giant headline, the vertical words and the warm-lit bowl you whisk.
hero.jssectionThe hero's signature: hold the button and the whisk froths the bowl, then the seal stamps it ready.
menu.csssectionThe menu: category tabs and the origin card on the left, three drawn cards per category on the right.
menu.jssectionThe menu's tabs: a click or the arrow keys pick a category, and its origin and cards pour in.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links into a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape and when a link in it is picked.
ritual.csssectionHow a bowl is made: four numbered steps joined by one brush line, each with its drawing and measure.
visit.csssectionVisit: the shop curtain, opening hours and address beside the reservation form, or once sent, the confirmation.
visit.jssectionThe reservation form: checks each field, sends with sendReservation, then shows the confirmation or the didn't-go-through line.
partspartsWhat several sections share.
art.csspartThe drawings' colors: one class per fill or stroke, each reading a theme.css variable.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (Fields, Ritual).
ink-rail.csspartThe ink rail down the right edge: a hanging-scroll line that fills as you scroll, with each section's word and the seal.
ink-rail.jspartThe ink rail: fills as you scroll, brushes in each section's word when you reach it and stamps the seal at the end.
motion.csspartThe page's motion: reveals, the ink rail, steam, ice, the seal stamps and the menu's pour (the same CSS as the React styles.tsx).
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.matchaSteam. Also draws in every [data-reveal] section.
page.csspartWhat every section shares: the reset, the page columns, type, the buttons, chips and the focus ring.
index.html
The page and all its text, one marked block per section.
Chargement…
Idéal pour
Tea houses, matcha bars, cafés and small Japanese restaurants that want a menu, their sources, a ritual and seat bookings.
Fonctionnement
Hold the button to whisk the bowl until it froths and is stamped. An ink rail fills as you scroll; menu tabs pour in drawn cups.
Utilisation
Ouvrez index.html, ou placez le dossier sur n’importe quel serveur statique. Les textes sont dans index.html, les couleurs et les polices dans theme.css, la fonction d’envoi du formulaire dans send.js. La partie HTML simple de README.md donne le reste.
Aucun paquet en plusReact seulement, rien d’autre
32,2 ko gzippé · 28 fichiersLe téléchargement complet