position: relative container. The patterns are defined in app/globals.css and are ready to use without any additional configuration.
Pattern elements are absolutely positioned overlays. The parent container must have
position: relative (or a Tailwind relative class) and should have overflow: hidden to prevent the pattern from bleeding outside its bounds.How patterns work
Each pattern class creates a full-bleed, pointer-event-free overlay inside its parent. The shared structure is:position: absolute— fills the parent containerbackground-repeat: repeat— tiles the image across the full area- Low
opacity— keeps the pattern subtle so content remains readable pointer-events: none— the overlay never blocks clicks or interactions
<div> as the first child of your section:
Available patterns
.pattern-bg — Asanoha (麻の葉)
Asanoha (麻の葉, asanoha) means “hemp leaf.” The pattern is a geometric star-shaped figure formed by overlapping hexagons, resembling the leaf of a hemp plant. It is one of the most common patterns in Japanese design and is traditionally associated with health, growth, and good luck.
components/Hero.tsx).
.pattern-bg-waves — Seigaiha (青海波)
Seigaiha (青海波, seigaiha) means “blue ocean wave.” The pattern consists of overlapping circular scales arranged in rows, evoking the movement of waves on the sea. It is one of the oldest Japanese patterns, associated with protection and good fortune.
components/Skills.tsx):
.pattern-bg-uroko — Uroko (鱗)
Uroko (鱗, uroko) means “fish scale” or “reptile scale.” The pattern is made of small, tessellating triangles that form a scale-like texture. In Japanese tradition it symbolizes protection from evil and is often found on samurai armor and kimonos.
components/Works.tsx):
.pattern-bg-kumo — Kumo (雲)
Kumo (雲, kumo) means “cloud.” The pattern reproduces the stylized, rounded clouds seen in traditional Japanese paintings and textile prints. Clouds in Japanese aesthetics are associated with change, impermanence, and the passage of time — a visual echo of the mono no aware philosophy.
.pattern-bg-hishi — Hishi (菱)
Hishi (菱, hishi) means “water chestnut” and refers to the diamond or rhombus shape. The pattern is a tessellation of diamond shapes that has been used in Japanese textile design for centuries, associated with strength and longevity.
Pattern comparison
| Class | Japanese name | Meaning | Tile size | Opacity |
|---|---|---|---|---|
.pattern-bg | 麻の葉 Asanoha | Hemp leaf / hexagonal star | 200px | 0.03 |
.pattern-bg-waves | 青海波 Seigaiha | Overlapping wave scales | 150px | 0.04 |
.pattern-bg-uroko | 鱗 Uroko | Fish / triangle scales | 100px | 0.05 |
.pattern-bg-kumo | 雲 Kumo | Stylized clouds | 250px | 0.06 |
.pattern-bg-hishi | 菱 Hishi | Diamond / rhombus shapes | 250px | 0.06 |
Adjusting opacity and tile size
Theopacity and background-size values in globals.css are the easiest knobs to turn. Increasing opacity makes the pattern more prominent; increasing background-size enlarges the individual tiles.
- More subtle
- More prominent
Full usage example
The following shows how to add the Kumo cloud pattern to a new custom section:Personal Info
Update your name, experience, projects, and social links
Theming
Customize colors, fonts, and dark mode
