PolyHunter

Card

Hover decoration requires a fine pointer and hover support at widths of 768px or more. Phone and touch controls keep tap actions and keyboard focus without rollover effects.

Flexible container with header, subheader, content, and footer slots — not coupled to any specific content or actions.

Playground

Live preview

Card title
Card description goes here.
Optional subheader content.

This is the main content area of the card. It grows to fill the available space.

Examples

Header + content only

Read-only card
Slots are optional — use only what you need.

Useful for displaying summary information.

Bare content

A card with no header or footer at all.

Image-backed editorial card

GETTING STARTED
How PolyHunter works
Learn how Guilds and Hunters work together.
FALLBACK
Article without artwork
The title remains readable without an image.

Footer layouts

Footer with items on the left only.

Footer with items on the right only.

Footer with items on both sides.

Footer with left, center, and right zones — the center is truly centered.

3 items selected

Footer with medium buttons on both sides.

Footer mixing sizes — medium primary, small secondary.

Footer with a centered item only.

Code

import {
  Button,
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardFooterLeft,
  CardFooterCenter,
  CardFooterRight,
  CardHeader,
  CardSubheader,
  CardTitle,
} from "@npolyhunter/ui";

// Slots are optional and unopinionated — compose only what you need.
// The wrapper enforces min 360×180, radius-large, 20px padding.
<Card>
  <CardHeader>
    <CardTitle>Card title</CardTitle>
    <CardDescription>Card description goes here.</CardDescription>
  </CardHeader>
  <CardSubheader>
    <CardDescription>Optional subheader content.</CardDescription>
  </CardSubheader>
  <CardContent>
    <p className="text-sm text-muted-foreground">
      Any content: text, media, forms, lists…
    </p>
  </CardContent>
  <CardFooter>
    <CardFooterLeft>
      <Button size="small" variant="utility">Cancel</Button>
    </CardFooterLeft>
    <CardFooterCenter>
      <span className="text-sm text-muted-foreground">3 items selected</span>
    </CardFooterCenter>
    <CardFooterRight>
      <Button size="small">Save</Button>
    </CardFooterRight>
  </CardFooter>
</Card>

// Footer zones are optional and mixable: left only, right only,
// left+right, or all three (center stays truly centered).

// disabled: blocks user actions (pointer-events: none) at 45% opacity
<Card disabled>…</Card>

Code

import {
  Button,
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardFooterLeft,
  CardFooterCenter,
  CardFooterRight,
  CardHeader,
  CardSubheader,
  CardTitle,
} from "@npolyhunter/ui";

// Slots are optional and unopinionated — compose only what you need.
// The wrapper enforces min 360×180, radius-large, 20px padding.
<Card>
  <CardHeader>
    <CardTitle>Card title</CardTitle>
    <CardDescription>Card description goes here.</CardDescription>
  </CardHeader>
  <CardSubheader>
    <CardDescription>Optional subheader content.</CardDescription>
  </CardSubheader>
  <CardContent>
    <p className="text-sm text-muted-foreground">
      Any content: text, media, forms, lists…
    </p>
  </CardContent>
  <CardFooter>
    <CardFooterLeft>
      <Button size="small" variant="utility">Cancel</Button>
    </CardFooterLeft>
    <CardFooterCenter>
      <span className="text-sm text-muted-foreground">3 items selected</span>
    </CardFooterCenter>
    <CardFooterRight>
      <Button size="small">Save</Button>
    </CardFooterRight>
  </CardFooter>
</Card>

// Footer zones are optional and mixable: left only, right only,
// left+right, or all three (center stays truly centered).

// disabled: blocks user actions (pointer-events: none) at 45% opacity
<Card disabled>…</Card>

Used in

Includes use through shared UI components.

AppBack Office