CONTOUR // NEXTUI
Card
Data card with icon, tag badge, title, and description. Supports wide variant for featured layouts. Midnight navy surface with neon green accents.
$
Or install the base component for free:
Live Preview
Open full demoUsage
TSX
<Card card={{ icon: "◈", tag: "Core", title: "Terrain Analysis", description: "Real-time topographic data processing." }} />Source
TSX
import { cn } from '@/lib/utils'
import type { CardItem } from '@/types'
interface CardProps {
card: CardItem
className?: string
}
export function Card({ card, className }: CardProps): React.JSX.Element {
return (
<div className={cn('contour-card', card.wide && 'contour-card-wide', className)}>
<div className="feature-icon">{card.icon}</div>
<span className={cn('feature-tag', card.tagVariant && `feature-tag--${card.tagVariant}`)}>{card.tag}</span>
<h3 className="card-title">{card.title}</h3>
<p className="card-description">{card.description}</p>
</div>
)
}
Works withNext.js 15React 19Tailwind v4TypeScript 5
More from CONTOUR // NEXT
Button
Dark topographic button with primary, secondary, and ghost variants in three sizes. Neon green accent on midnight navy. Renders as a Next.js Link when an href is provided.
Badge
Topographic badge with neon, cream, warning, error, and info variants. Monospace labels on dark surfaces.
Text
Polymorphic text component with body, caption, label, and code variants. IBM Plex Mono for labels and code, Space Grotesk for body.