idf/nova-html-card
Larablocks Analysis
idf/nova-html-card works with any PHP project: the latest release (3.4.2, Jan 23, 2026) doesn't depend on Laravel.
Recommendation checks
Replacement recommendedReplacement recommended: use interaction-design-foundation/nova-html-card instead. Named by its author on Packagist.
- Marked abandoned on Packagist
- Released in the last 12 months (Jan 23, 2026)
- 2,009 downloads a month (needs 10,000)
- 68 GitHub stars (needs 100)
State
Abandoned- Packagist marks this package abandoned.
- Last stable release: Jan 23, 2026.
- 2 releases in the last 12 months.
- First released: Jun 29, 2019.
- Monthly downloads: 2,009.
- 12 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require idf/nova-html-card |
|
| Latest Version: | 3.4.2 |
| PHP: | ^8.1 |
| License: | MIT |
| Last Updated: | Dec 2, 2026 |
| Links: | GitHub · Packagist |
| We stand with Ukraine | 🇺🇦 |
|---|
Nova HTML Card
Adds a card to the Laravel Nova dashboard with any arbitrary HTML content.

Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require interaction-design-foundation/nova-html-card
Usage
use InteractionDesignFoundation\HtmlCard\HtmlCard;
public function cards()
{
return [
(new HtmlCard())->width('1/3')->html('<h1>Hello World!</h1>'),
(new HtmlCard())->width('1/3')->markdown('# Hello World!'),
(new HtmlCard())->width('1/3')->view('cards.hello', ['name' => 'World']),
];
}
Options
- Set content
->html('<h1>Hello!</h1>'): Set HTML or plain content.->markdown('# Hello!'): Set Markdown content that will be converted into HTML.->view('path.to.view', []): Specify blade view file and optionally pass an array of data to view.
- Styling
->center(false): Center card's content.falseby default.->withoutCardStyles(true): Whether to use standard Nova Card styles for a card (background, padding, etc).falseby default.->withBasicStyles(): Adds some basic styling to the HTML elements in the card. Useful when rendering Markdown.
Why this package?
There are a few packages with similar functionality. Our package provides an API to cover all cases covered by these packages plus additionally provides some unique features like:
- Markdown support
- easy switch between class Nova-card look and raw-HTML look
- Simple, Laravel-like API
Changelog
Please see Releases for more information on what has changed recently.
Updating assets
After updating assets, you need to "recompile" them for production:
composer i
npm i
npm run nova:install
npm run prod
Contributing
Please see CONTRIBUTING for details.
License
The MIT License (MIT). Please see License File for more information.
Alternatives to idf/nova-html-card
A Laravel Nova card that renders HTML, Markdown or Blade content, with lazy load...
A Laravel Nova tool that allows you to add markdown-based documentation to your...
A driver-based content rendering package, with support for HTML, Markdown & plai...
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| 3.4.2 | ^8.1 | MIT | |
| 3.4.1 | ^8.1 | MIT | |
| 3.4.0 | ^8.1 | MIT | |
| 3.3.0 | ^8.1 | MIT | |
| 3.2.0 | ^8.1 | MIT | |
| 3.1.0 | >=8.0 | MIT | |
| 3.0.1 | >=8.0 | MIT | |
| 3.0.0 | >=8.0 | MIT | |
| 2.0.0 | >=8.0 | MIT | |
| 1.3.2 | >=8.0 | MIT | |
| 1.3.1 | >=8.0 | MIT | |
| 1.3.0 | >=8.0 | MIT | |
| 1.2.2 | >=7.1.0 | MIT | |
| 1.2.1 | >=7.1.0 | MIT | |
| 1.2.0 | >=7.1.0 | MIT | |
| 1.1.1 | >=7.1.0 | MIT | |
| 1.1 | >=7.1.0 | MIT | |
| 1.0.0 | >=7.1.0 | MIT |
Pre-releases (1)
| Version | Released | PHP | License |
|---|---|---|---|
| 3.0.0-rc1 | >=8.0 | MIT |