astralyxdev

Result

Component 2

About

A whole-page status display for outcomes like 404, 403, server error or success, with an icon, title, description and action buttons so the user always has a way forward.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Result to your project and fits it to your theme.

Code

How Result is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { Button } from "@/components/ui/button";
import { Result } from "@/components/ui/result";

export default function ResultDemo() {
  return (
    <Result
      className="w-full"
      status="404"
      compact
      title="We could not find that page"
      description="The link may be out of date, or the page may have moved."
      actions={<Button size="sm">Go home</Button>}
    />
  );
}

Dependencies

More by astralyxdev

View all
  • Rate Limit Meter

    Rate Limit Meter

    18
  • Note Graph

    Note Graph

    14
  • Prompt Versions

    Prompt Versions

    7
  • Migration List

    Migration List

    7
  • IP Cluster

    IP Cluster

    7
  • Checkout Summary

    Checkout Summary

    7
  • Odds Display

    Odds Display

    5
  • Budget Guard

    Budget Guard

    5