• Nimiq Frankenstein

Cards

A simple card that can turn any boring content into something that looks intentional and professional. At least that's what we tell ourselves.

Props

NameTypeDefaultDescription
hrefstringundefinedWhere your card wants to teleport users to
bg-colorstringundefinedThe mood lighting for your card
iconstringundefinedThe tiny picture that makes your card feel important (optional)
titlestringundefinedThe card's title (optional)
descriptionstringundefinedThe card's description (optional)
labelstringundefinedOptional label displayed above the title
layout'column' | 'row''column'Switch to row to place the icon on the left next to the copy
span'full' | 'half' | 'default'undefinedControls how many columns the card spans in a grid

The component also supports using slots for custom content instead of props.

The default column layout stacks everything neatly; flip to row when you want the icon leading on the left and the label sitting just above the title.

TIP

Remember to register NqCard in your app.

Examples

Basic Card

Simple card with just title and description - perfect for static content display.

Getting Started

Learn the basics of building with Nimiq's browser-first blockchain technology.

Clickable Card

Add an href to make the entire card clickable and navigatable.

Card with Icon (Column Layout)

Default column layout with icon positioned absolutely on the right side.

Build Apps

Create decentralized applications with our developer tools.

Card with Background Color

Use predefined colors (blue, green, orange, gold, red) to add visual emphasis.

Card with Label

Add a label above the title for better content categorization.

Tutorial

Your First Transaction

Step-by-step guide to sending your first Nimiq transaction.

Row Layout

Use layout="row" to place the icon on the left with content flowing to the right.

Developer Tools

Nimiq RPC API

Connect to the Nimiq network using our JSON-RPC interface.

Copy page