Inline Diorama
Install the component, then paste your configured usage. Your settings are included in the code below.
npx arclen-ui add text-bloom --settings eyJjb3B5IjoiTWFyYSBsZXQgbWUgd2F0Y2ggaGVyIGhhbmQuIEkgY29waWVkIHRoZSBhbmdsZSBvZiBldmVyeSBmaW5nZXIuIFlvdSBjYW7igJl0IHNlZSBwcmVzc3VyZSwgYXMgaXQgdHVybnMgb3V0LiBUaGUgY3JhY2sgd2FzIG1pbmUuIEkgZ2F2ZSBteSBzdWNjZXNzb3Igc29mdGVyIGZpbmdlcnRpcHMuIEl0IHdvcmtlZCBvdXQgaG93IHRvIHRlYWNoIHRoZSBuZXh0IG9uZSBieSB0b3VjaC4gV2Ugc3RpbGwgdXNlIHRoZSBzZWNvbmQgZ2xhc3MuIiwiYmFja2dyb3VuZCI6IiMwMDAwMDAiLCJpbmsiOiIjZmZmZmZmIiwidHlwZVNjYWxlIjoxMDAsInJhZGl1cyI6Nywiem9vbSI6MTAwLCJkdXJhdGlvbiI6NDAwLCJmYWRlIjo1MDAsImludGVydmFsMSI6MTEwMCwidXJsMSI6Imh0dHBzOi8vYXJjbGVudWkuZGV2LyIsImludGVydmFsMiI6MTgwMCwidXJsMiI6Imh0dHBzOi8vYXJjbGVudWkuZGV2LyIsImludGVydmFsMyI6MTYwMCwidXJsMyI6Imh0dHBzOi8vYXJjbGVudWkuZGV2LyIsImludGVydmFsNCI6MTkwMCwidXJsNCI6Imh0dHBzOi8vYXJjbGVudWkuZGV2LyJ9import { InlineDiorama } from "@/components/text-bloom";
export default function Example() {
return <InlineDiorama {...{
"copy": "Mara let me watch her hand. I copied the angle of every finger. You can’t see pressure, as it turns out. The crack was mine. I gave my successor softer fingertips. It worked out how to teach the next one by touch. We still use the second glass.",
"background": "#000000",
"ink": "#ffffff",
"typeScale": 100,
"radius": 7,
"zoom": 100,
"duration": 400,
"fade": 500,
"interval1": 1100,
"url1": "https://arclenui.dev/",
"interval2": 1800,
"url2": "https://arclenui.dev/",
"interval3": 1600,
"url3": "https://arclenui.dev/",
"interval4": 1900,
"url4": "https://arclenui.dev/"
}} />;
}| Property | Type | Default |
|---|---|---|
copyParagraph | text | "Mara let me watch her hand. I copied the angle of every finger. You can’t see pressure, as it turns out. The crack was mine. I gave my successor softer fingertips. It worked out how to teach the next one by touch. We still use the second glass." |
backgroundBackground | color | "#000000" |
inkInk | color | "#ffffff" |
typeScaleText size (%) 70–140Step 1 | number | 100 |
radiusPhoto radius (px) 0–30Step 1 | number | 7 |
zoomExpansion (%) 60–150Step 5 | number | 100 |
durationExpansion time (ms) 0–1000Step 10 | number | 400 |
fadeCrossfade (ms) 0–1000Step 10 | number | 500 |
interval1Time per photo (ms) 1000–5000Step 50 | number | 1100 |
url1Link destination | text | "https://arclenui.dev/" |
interval2Time per photo (ms) 1000–5000Step 50 | number | 1800 |
url2Link destination | text | "https://arclenui.dev/" |
interval3Time per photo (ms) 1000–5000Step 50 | number | 1600 |
url3Link destination | text | "https://arclenui.dev/" |
interval4Time per photo (ms) 1000–5000Step 50 | number | 1900 |
url4Link destination | text | "https://arclenui.dev/" |
Inline Diorama
The second glass follows an agent through four generations. Hover, focus or tap the inline photographs to expand a sequence. Each sequence contains three local frames. The passage uses the anchor words from the default copy to place the photographs.
Use
Import the named component from text-bloom or use the HTML download. The Customize panel lists the same settings accepted by the React component.
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.