Component

NavCard

Clickable card used in admin dashboards to navigate between sections. Supports an emoji icon and an optional badge count.

Basic

live editor β€” edit to update preview
<NavCard href="/admin/articles" title="Articles" description="Manage and review submitted articles." emoji="πŸ“" />

With badge

live editor β€” edit to update preview
<NavCard href="/admin/queue" title="Review Queue" description="Articles awaiting human review." emoji="πŸ”" badge={12} />

Props

PropTypeDefaultDescription
href*stringβ€”Navigation target.
title*stringβ€”Card heading.
description*stringβ€”Short explanatory text.
emojistringβ€”Optional emoji shown above the title.
badgenumber | nullβ€”When > 0 shows a red notification dot with the count.