Componentdata0.73 KB gzipZero dependencies
LinkCard
Whole-card link with sliding arrow, darkening border on hover and fade-up entrance.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add link-cardOr install the full npm package:
npm install bigbulluiUsage
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 helperZero 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 />| Prop | Type | Description |
|---|---|---|
| href | string | Destination URL rendered as a link target. |
| title | string | Primary heading or title text. |
| description | string | Descriptive helper or subtitle text. |
| external | boolean | Toggles external. (Default: false) |