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
| Prop | Type | Default | Description |
|---|---|---|---|
| href* | string | β | Navigation target. |
| title* | string | β | Card heading. |
| description* | string | β | Short explanatory text. |
| emoji | string | β | Optional emoji shown above the title. |
| badge | number | null | β | When > 0 shows a red notification dot with the count. |