Micro Japanese Text Block
A tiny, tightly set block of Japanese mission statement text at 9px in the nav, acting as a graphic texture beside the logo.
Rebuilt from teenage.engineering in the Embossed Lab Monochrome style.
npx shadcn@latest add https://justyoink.it/r/embossed-lab-monochrome/blocks/jp-mission-text.json
Looks exactly like teenage.engineering: brings its fonts and colours, namespaced so your own theme stays untouched.
npx shadcn@latest add https://justyoink.it/r/embossed-lab-monochrome/mine/jp-mission-text.json
Restyled to your project: uses your shadcn colours, fonts and radius, so it matches the rest of your app. Layout, type sizes and motion stay as designed.
Usage
Pass `lines` (array of short Japanese strings, one per row) and optional `label` for the accessible name. Renders a static 9px tightly set text block on a black canvas with a 250ms fade-in.
components/jp-mission-text.tsx
export default function MicroJapaneseTextBlock({ lines = [ "静かな工房から、小さな道具と", "音の遊びを届けるスタジオです。", "私たちの目標は、手に取れる", "やさしい形と仕組みを作ること。", "素材の声に耳を澄まし、新しい", "暮らしの景色をひらいていきます。", ], label = "スタジオの紹介文", }: { lines?: string[]; label?: string; }) { return ( <div className="animate-fade-in inline-block bg-canvas p-4 text-on-dark"> <p aria-label={label} lang="ja" className="w-[150px] font-sans text-[9px] font-bold leading-[1.15] tracking-normal" > {lines.map((line, i) => ( <span key={i} className="block"> {line} </span> ))} </p> </div> ); }export default function MicroJapaneseTextBlock({ lines = [ "静かな工房から、小さな道具と", "音の遊びを届けるスタジオです。", "私たちの目標は、手に取れる", "やさしい形と仕組みを作ること。", "素材の声に耳を澄まし、新しい", "暮らしの景色をひらいていきます。", ], label = "スタジオの紹介文", }: { lines?: string[]; label?: string; }) { return ( <div className="animate-embossed-fade-in inline-block bg-background p-4 text-foreground"> <p aria-label={label} lang="ja" className="w-[150px] font-mono text-[9px] font-bold leading-[1.15] tracking-normal" > {lines.map((line, i) => ( <span key={i} className="block"> {line} </span> ))} </p> </div> ); }
Quality checks
Automated, in a real browser · today- Accessible: passedNo serious accessibility problems (axe-core): readable contrast, labelled buttons and images.
- Responsive: passedRenders at phone (390px), tablet (768px) and desktop width without sideways scrolling.
- Dark mode: passedStill readable when installed in your theme and switched to dark mode.
- Themeable: passedUses design tokens rather than hard-coded colours, so it follows your theme cleanly.
- Animates cleanly: passedIts animation plays and finishes with everything visible, and it stays still for people who turn on reduced motion.