Tidal Glass
Install the component, then paste your configured usage. Your settings are included in the code below.
npx arclen-ui add liquid-glass --settings eyJzaGFwZSI6ImJ1dHRvbiIsImJ1dHRvbldpZHRoIjoyODgsImJ1dHRvbkhlaWdodCI6ODQsImJ1dHRvblJhZGl1cyI6NDIsImJ1dHRvbkZyb3N0IjoxMiwiYnV0dG9uTGFiZWwiOiJMb29rIGNsb3NlciIsImNhcmRXaWR0aCI6NjMyLCJjYXJkSGVpZ2h0Ijo0NTEsImJvcmRlclJhZGl1cyI6MzIsImJhZGdlV2lkdGgiOjE1MiwiYmFkZ2VIZWlnaHQiOjQwLCJiYWRnZVJhZGl1cyI6MjAsImJhZGdlTGFiZWwiOiJDb2FzdGFsIHN0dWR5Iiwic2NlbmUiOiJ0aWRhbCIsInBsYXliYWNrU3BlZWQiOjEsInJlZnJhY3Rpb24iOjAuMTYxLCJlZGdlUmVmcmFjdGlvbiI6MC4wNiwiZnJvc3QiOjAsIm1hZ25pZnkiOjEuMzcyLCJkaXNwZXJzaW9uIjowLjQ0LCJiZXZlbERlcHRoIjowLjQxLCJiZXZlbFdpZHRoIjowLjE1LCJlZGdlSGlnaGxpZ2h0IjowLjIyLCJlZGdlRGFya2VuaW5nIjowLjIyLCJ0aW50T3BhY2l0eSI6MC4wMTUsImdsYXNzT3BhY2l0eSI6MSwic3BlY3VsYXJTdHJlbmd0aCI6MC42NSwiY2FwdGlvbiI6IldoaXRlIHdhdGVyIGRyYXdzIGEgbGluZSBhY3Jvc3Mgdm9sY2FuaWMgc2FuZC4iLCJzaG93UmluZyI6dHJ1ZX0import { TidalGlass } from "@/components/liquid-glass";
export default function Example() {
return <TidalGlass {...{
"shape": "button",
"buttonWidth": 288,
"buttonHeight": 84,
"buttonRadius": 42,
"buttonFrost": 12,
"buttonLabel": "Look closer",
"cardWidth": 632,
"cardHeight": 451,
"borderRadius": 32,
"badgeWidth": 152,
"badgeHeight": 40,
"badgeRadius": 20,
"badgeLabel": "Coastal study",
"scene": "tidal",
"playbackSpeed": 1,
"refraction": 0.161,
"edgeRefraction": 0.06,
"frost": 0,
"magnify": 1.372,
"dispersion": 0.44,
"bevelDepth": 0.41,
"bevelWidth": 0.15,
"edgeHighlight": 0.22,
"edgeDarkening": 0.22,
"tintOpacity": 0.015,
"glassOpacity": 1,
"specularStrength": 0.65,
"caption": "White water draws a line across volcanic sand.",
"showRing": true
}} />;
}| Property | Type | Default |
|---|---|---|
shapeShape preset Options: button (Pill button), card (Card), badge (Badge) | select | "button" |
buttonWidthButton width (px) 48–1200Step 1 | number | 288 |
buttonHeightButton height (px) 24–900Step 1 | number | 84 |
buttonRadiusButton radius (px) 0–1000Step 1 | number | 42 |
buttonFrostButton frost 0–40Step 0.5 | number | 12 |
buttonLabelButton label | text | "Look closer" |
cardWidthCard width (px) 48–1200Step 1 | number | 632 |
cardHeightCard height (px) 24–900Step 1 | number | 451 |
borderRadiusCard radius (px) 0–1000Step 1 | number | 32 |
badgeWidthBadge width (px) 48–1200Step 1 | number | 152 |
badgeHeightBadge height (px) 24–900Step 1 | number | 40 |
badgeRadiusBadge radius (px) 0–1000Step 1 | number | 20 |
badgeLabelBadge label | text | "Coastal study" |
sceneBackplate Options: tidal (Tidal Fold), iris (Iris Drift), salt (Salt Meadow), velodrome (Velodrome) | select | "tidal" |
playbackSpeedPlayback speed (×) 0.25–2Step 0.05 | number | 1 |
refractionRefraction 0–0.25Step 0.001 | number | 0.161 |
edgeRefractionEdge Refraction 0–0.25Step 0.001 | number | 0.06 |
frostFrost 0–40Step 0.5 | number | 0 |
magnifyMagnify 0.6–2Step 0.001 | number | 1.372 |
dispersionDispersion 0–3Step 0.01 | number | 0.44 |
bevelDepthBevel Depth 0–1.5Step 0.01 | number | 0.41 |
bevelWidthBevel Width 0–0.6Step 0.01 | number | 0.15 |
edgeHighlightEdge Highlight 0–2Step 0.01 | number | 0.22 |
edgeDarkeningEdge Darkening 0–2Step 0.01 | number | 0.22 |
tintOpacityTint Opacity 0–0.4Step 0.005 | number | 0.015 |
glassOpacityGlass Opacity 0–1Step 0.01 | number | 1 |
specularStrengthSpecular Strength 0–3Step 0.01 | number | 0.65 |
captionCaption | text | "White water draws a line across volcanic sand." |
showRingShow play mark | boolean | true |
Tidal Glass opens as a pill button over the Tidal Fold wave. Activate **Look closer** to magnify the scene inside the lens. Click again to return, or use Enter or Space while the button is focused.
In Tweaks, choose **Shape preset** to switch between Pill button, Card and Badge. Each shape has its own width, height and corner radius in pixels. Switching shapes restores that shape’s dimensions. Set a small radius for square corners, or at least half the short side for a pill. The lens fits within the available frame on narrow screens.
The Button and Badge groups each include an editable label. The badge is static. The card displays the caption and optional play mark, and docks near the bottom on phones. Pass the same settings as React props or call the vanilla instance’s update method.
Choose Tidal Fold for the seven-second wave loop, or Iris Drift, Salt Meadow or Velodrome for a still. Playback speed ranges from 0.25× to 2×. Supply a same-origin or CORS-enabled backplate through videoSrc or imageSrc. The host sets the size of the scene.
Refraction and Magnify affect the interior of the lens. Edge Refraction, Bevel Width and Bevel Depth shape the rim. Dispersion separates the colour channels at the edge. Frost softens every lens shape. Button frost adds diffusion and a smoky tint to the Look closer pill. Set both frost controls to zero for clear glass. Reduced motion and pause hold the frame, and the renderer suspends offscreen.
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.