Componentdata0.73 KB gzipZero dependencies

LinkCard

Whole-card link with sliding arrow, darkening border on hover and fade-up entrance.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

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

npx bigbullui add link-card

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { LinkCard } from "@/components/ui/link-card"; <LinkCard href="/docs" title="Documentation" description="Every component, indexed." external />

Source code

link-card.tsx + 1 helper

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

tsxlink-card.tsx49 lines
import * as React from "react";import { cn } from "./lib/utils"; export interface LinkCardProps extends React.HTMLAttributes<HTMLAnchorElement> {  href: string;  title: string;  description?: string;  external?: boolean;} export function LinkCard({  href,  title,  description,  external = false,  className,  ...props}: LinkCardProps) {

Props

Interactive Prop Playground

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

tsx3 lines
import { LinkCard } from "@/components/ui/link-card"; <LinkCard />
PropTypeDescription
hrefstringDestination URL rendered as a link target.
titlestringPrimary heading or title text.
descriptionstringDescriptive helper or subtitle text.
externalbooleanToggles external. (Default: false)