Focus Journal
Install the component, then paste your configured usage. Your settings are included in the code below.
Pro source comes with Arclen UI Pro. See plans
| Property | Type | Default |
|---|---|---|
imagesPhotographs Bundled journal-01 through journal-06 keys or complete HTTPS image URLs. Empty restores the included collection. Minimum 0 itemsMaximum 12 itemsUp to 2048 characters per item | string-list | ["journal-01","journal-02","journal-03","journal-04","journal-05","journal-06"] |
titlesProject titles Minimum 0 itemsMaximum 12 itemsUp to 160 characters per item | string-list | ["Coastal Steps","Under Glass","Blue Hour","Citrus & Linen","Desert Door","First Light"] |
captionsProject subtitles Minimum 0 itemsMaximum 12 itemsUp to 160 characters per item | string-list | ["Salt air and sun-warmed stone","A quiet room filled with green","The city after the rain","Small rituals in the afternoon","Rose walls and open horizons","Still water before the day begins"] |
linksProject link URLs Minimum 0 itemsMaximum 12 itemsUp to 2048 characters per item | string-list | ["https://example.com/coastal-steps","https://example.com/under-glass","https://example.com/blue-hour","https://example.com/citrus-and-linen","https://example.com/desert-door","https://example.com/first-light"] |
imageWidthNominal image width 200–440Step 1 | number | 340 |
imageHeightNominal image height 140–320Step 1 | number | 228 |
gapItem gap 20–120Step 1 | number | 56 |
focusScaleFocused scale 1.05–1.5Step 0.05 | number | 1.3 |
inactiveScaleNeighbor scale 0.4–0.95Step 0.05 | number | 0.7 |
inactiveOpacityNeighbor opacity 0.15–0.8Step 0.05 | number | 0.4 |
radiusCorner radius 0–64Step 1 | number | 6 |
heightScroll viewport height 360–900Step 1 | number | 620 |
titleSizeTitle size 24–64Step 1 | number | 48 |
captionSizeSubtitle size 14–36Step 1 | number | 24 |
fontFamilyTitle font Options: component (Component default), system (System sans), serif (System serif) | select | "component" |
backgroundBackground | color | "#f5f2eb" |
textColorText color | color | "#282722" |
Focus Journal
A photographic travel journal with a fixed reading column beside a vertical artwork sequence. Warm paper and ink are the defaults. The Charcoal preview uses the same composition with a dark neutral surface. Titles, captions and navigation follow the image nearest the center.
React
Copy this complete component directory into your project. React 19 and React DOM 19 are peer requirements. No additional runtime packages are needed. Inter is bundled under the SIL Open Font License 1.1; complete notices are in assets/fonts.
import {FocusJournal} from './components/focus-journal/src/react';
export default function Projects() {
return <FocusJournal
titles={['Coastal Steps', 'Under Glass', 'Blue Hour']}
captions={['Salt air and sun-warmed stone', 'A quiet room filled with green', 'The city after the rain']}
images={['journal-01', 'journal-02', 'journal-03']}
links={['https://example.com/coastal-steps', 'https://example.com/under-glass', 'https://example.com/blue-hour']}
/>;
}<FocusJournal background="#242321" textColor="#f4f0e8" />JavaScript
import {mount, defaults} from './components/focus-journal/src/core';
import './components/focus-journal/src/styles.css';
const host = document.querySelector<HTMLElement>('#projects')!;
const gallery = mount(host, {radius: 6});
gallery.update({gap: 80, titleSize: 48});
gallery.pause();
gallery.resume();
gallery.update({...defaults});
// Before removing the host:
gallery.destroy();render(settings, id) returns server HTML with the first focused state populated. mount owns its host’s children. Use a unique ID per server-rendered instance; the React adapter handles IDs automatically. update merges partial values, and passing defaults restores all manifest defaults. Invalid types, unknown keys, unsafe URLs and values outside bounds throw TypeError before modifying the instance.
Artwork and layout
Bundled artwork keys are journal-01 through journal-06. Custom artwork and destinations must use complete HTTPS URLs without credentials. Lists support twelve items. Empty lists restore local defaults. Short companion lists use the corresponding built-in entries. An empty individual link hides the project link. Replace example.com destinations before publishing.
The reading column contains the title, caption and destination. Below 700px it moves beneath the artwork. The gallery fills a bounded parent and permits internal overflow if the content is taller. At the defaults, the nominal artwork is 340 × 228px and the focused artwork is 442 × 296.4px where space permits. The vertical stride is 284px. Narrow layouts clamp artwork width within the image column.
The default palette is warm paper (background="#f5f2eb") with ink (textColor="#282722"). For charcoal, set background="#242321" and textColor="#f4f0e8". Surface luminance switches image outlines and elevation automatically. Set background and text together when choosing a custom palette. Header and caption text use the bundled Inter font; the default title uses the system serif. Navigation has 44px targets and a separate selector row on narrow layouts.
imageWidth and imageHeight are nominal dimensions before scaling. gap separates nominal item boxes. focusScale, inactiveScale and inactiveOpacity control the focused and neighboring states. height sets the scroll viewport with proportional adjustments on narrow layouts. Long text may increase the caption area. Edge cropping of neighboring artwork is deliberate.
Navigation and motion
Scroll or swipe over the artwork; mouse dragging also changes the sequence. Previous/next and project selectors navigate to an image. Up/down arrows, Page Up/Page Down and Home/End work while focus is inside the gallery. Destination links retain normal keyboard activation. Navigation stops at the first and last project. A polite live region announces the active title, and keyboard focus is visible.
Image scale and opacity interpolate directly with actual scroll position. Browser smooth scrolling handles intentional navigation. There are no separate image or caption animation timelines.
Motion is manual and event driven, with no autoplay or idle animation loop. One animation-frame callback batches each scroll update. Pause, offscreen observation and reduced motion stop smooth navigation and make subsequent button navigation immediate. Direct manual scrolling remains usable; resume keeps the current position. The React paused prop applies the same policy. Destroy removes owned listeners, observers and pending callbacks. Failed custom images switch once to bundled artwork. Without JavaScript the first image and project link remain available, and native scrolling displays the sequence.
Settings
The settings table is generated from the component manifest.
The preview runs the component’s own JavaScript. It respects reduced motion and pauses when off screen. The HTML bundle includes a static fallback.
Every setting in this panel comes from the component manifest. Preview size, pause and replay stay in the inspector.