Grid reveal
import { GridReveal } from "@arcadia/ui";GridReveal
staterequired- GridRevealState
- The product owns generation, cancellation and retry. Key the component by attempt.
kindrequired- "image" | "diagram"
- Only generated still images or self-contained, static diagram images.
widthrequired- number
- Positive dimensions agreed before generation. They must not change within an attempt.
heightrequired- number
altrequired- string
- Describe the finished visual. Provide a longer text equivalent separately for a complex diagram.
live- boolean
- Default:
false - Opt in for a new result, never for history or a restored view. Only one live indicator per region.
announce- boolean
- Default:
false - Politely announce outcomes only if the surrounding conversation does not already do so.
onImageError- () => void
- Report a load or decode failure so the caller can offer recovery.
rootStyle- RootStyle
- Typed StyleX layout override.
State machine
Preparing image