Componentdata0.68 KB gzipZero dependencies

Article Card

Blog article card with category badge, excerpt and author meta.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add article-card

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { ArticleCard } from "@/components/ui/article-card"; <ArticleCard />

Source code

article-card.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxarticle-card.tsx73 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export interface ArticleCardProps extends Omit<React.HTMLAttributes<HTMLElement>, "title"> {  title: string;  excerpt: string;  category?: string;  author?: string;  readTime?: string;  image?: string;  className?: string;} export function ArticleCard({  title,  excerpt,

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { ArticleCard } from "@/components/ui/article-card"; <ArticleCard />
PropTypeDescription
titlestringPrimary heading or title text.
excerptstringConfigures excerpt.
categorystringConfigures category.
authorstringConfigures author.
readTimestringConfigures read time.
imagestringConfigures image.
classNamestringOptional Tailwind or custom CSS classes merged with component styles.