Cards
Deferred post card
Deferred post card: A post card that shows a measured placeholder shell first, then swaps in the real post, with a retryable failure state.
Using Deferred post card
Deferred post card uses the card preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
state | select | loading | Options: loading, loaded, error |
loadDelay | number | 1400 | From 200 to 4000; step 100 |
showMedia | boolean | false | No additional limit in the metadata. |
accent | color | #7C5CFF | No additional limit in the metadata. |
Which frameworks are available for Deferred post card?
Deferred post card is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Deferred post card depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Deferred post card?
The React source for Deferred post card includes: native elements (button); attributes and handlers (aria-busy, aria-hidden); explicit roles (status). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Deferred post card handle reduced motion?
Deferred post card reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.