Component Prompts

Error State with Retry Action

A component-level error state for when data fails to load, with error icon, message, and a retry button.

Open in v0
Prompt
Create an error state component with:
- Warning icon (large, muted red)
- Error title: "Something went wrong"
- Descriptive message: "We couldn't load your data. This is usually temporary."
- Error code in small monospace text (optional)
- Primary button: "Try Again"
- Secondary link: "Contact Support"
- Three variants:
  1. Full page error (centered in viewport)
  2. Card-level error (fits inside a data card)
  3. Inline error (single line with icon and retry link)
- Dark mode support
- Use shadcn/ui, Tailwind CSS
Share:Share on X
Seed Contributor avatar
Seed Contributor
@seed
0 copies · 0 upvotes

More Empty States Prompts

A friendly empty state for a messaging inbox with an SVG illustration, headline, subtext, and primary CTA.

A set of animated skeleton loading placeholders for cards, a table, and a profile.