shubhu

Quest Card

Component

About

Retro pixel-art quest card with cut corners, 8-bit scenery presets, interactive quest state, and dark mode support

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

Code

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

Usage.tsx

"use client";

import React from "react";
import { QuestCard } from "@/components/ui/quest-card";

export default function QuestCardDemo() {
  return (
    <div className="flex w-full items-center justify-center p-6 sm:p-10">
      <QuestCard
        badge="SIDE QUEST"
        badgeVariant="default"
        chapter="CHAPTER · 04"
        title="The Cobalt Spires"
        description="A weather-worn cartographer charts the northern peaks where the moss meets the cobalt sky."
        time="12 MIN READ"
        reward="320 XP"
        level="14+"
        scene="mountain"
      />
    </div>
  );
}

Dependencies

More by shubhu

View all
  • Offer Button

    Offer Button

    89
  • Retro Loader

    Retro Loader