BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shipbase/ui/card

card

shipbase-ui/card
FreeComponent

shipbase/ui publishes no description for this item.

Install it

npx shadcn@latest add https://raw.githubusercontent.com/shipbase/ui/next/apps/www/public/r/react/card.json

Source

./src/components/ui/card.tsxraw.githubusercontent.com/shipbase/ui/next/apps/www/public/r/react/card.json
1import type * as React from "react"
2
3import { createAnatomy } from "@ark-ui/react/anatomy"
4
5import { cn } from "@/lib/utils"
6
7const anatomy = createAnatomy("card", [
8 "root",
9 "header",
10 "footer",
11 "title",
12 "description",
13 "content",
14 "action",
15])
16const parts = anatomy.build()
17
18function Card({ className, ...props }: React.ComponentProps<"div">) {
19 return (
20 <div
21 {...parts.root.attrs}
22 className={cn(
23 "flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",
24 className
25 )}
26 {...props}
27 />
28 )
29}
30
31function CardHeader({ className, ...props }: React.ComponentProps<"div">) {
32 return (
33 <div
34 {...parts.header.attrs}
35 className={cn(
36 "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
37 className
38 )}
39 {...props}
40 />
41 )
42}
43
44function CardTitle({ className, ...props }: React.ComponentProps<"div">) {
45 return (
46 <div
47 {...parts.title.attrs}
48 className={cn("font-semibold leading-none", className)}
49 {...props}
50 />
51 )
52}
53
54function CardDescription({ className, ...props }: React.ComponentProps<"div">) {
55 return (
56 <div
57 {...parts.description.attrs}
58 className={cn("text-muted-foreground text-sm", className)}
59 {...props}
60 />
61 )
62}
63
64function CardAction({ className, ...props }: React.ComponentProps<"div">) {
65 return (
66 <div
67 {...parts.action.attrs}
68 className={cn(
69 "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
70 className
71 )}
72 {...props}
73 />
74 )
75}
76
77function CardContent({ className, ...props }: React.ComponentProps<"div">) {
78 return (
79 <div
80 {...parts.content.attrs}
81 className={cn("px-6", className)}
82 {...props}
83 />
84 )
85}
86
87function CardFooter({ className, ...props }: React.ComponentProps<"div">) {
88 return (
89 <div
90 {...parts.footer.attrs}
91 className={cn("flex items-center px-6 [.border-t]:pt-6", className)}
92 {...props}
93 />
94 )
95}
96
97export {
98 Card,
99 CardAction,
100 CardContent,
101 CardDescription,
102 CardFooter,
103 CardHeader,
104 CardTitle,
105}

What it pulls in

npm packages

  • @ark-ui/react

Files it writes

  • ./src/components/ui/card.tsx

Facts

Registry
shipbase/ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-08
Last confirmed
today

Go to the source

ui.shipbase.xyz shipbase/ui on GitHub Raw registry item This item as JSON

More from shipbase/ui

All 32 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
accordionaccordionshipbase/uiComponentsFree2 deps
avataravatarshipbase/uiComponentsFree1 dep
badgebadgeshipbase/uiComponentsFree2 deps
buttonbuttonshipbase/uiComponentsFree2 deps
checkboxcheckboxshipbase/uiComponentsFree2 deps
collapsiblecollapsibleshipbase/uiComponentsFree1 dep
comboboxcomboboxshipbase/uiComponentsFree2 deps
dialogdialogshipbase/uiComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex