Community Card

Night Shippers

312 members

By Deniz

About this component

Community Card

A compact community card with thumbnail, member count, and organizer row for directories and group lists.

Usage

The import and the props worth knowing about, in one place.

import { Card27 } from "@/components/beste/component/card27";

// The whole card becomes a link when href is set.
<Card27
  src="/groups/night-shippers.jpg"
  title="Night Shippers"
  meta="312 members"
  byName="Deniz"
  href="/groups/night-shippers"
/>

<Card27
  src="/groups/design-club.jpg"
  title="Design Club"
  meta="94 members"
  byName="Elif"
  bySrc="/avatars/elif.jpg"   // or omit for the gradient dot
  tone="violet"               // dot: "peach" (default) | "violet" | "emerald"
/>

Keyboard and gestures

Every one of these is in the component already. They are listed because a props table cannot mention a gesture, so nothing else on this page can tell you they exist.

HoverThe card lifts and the image scales inside its frame; `motion-reduce` turns the movement off.

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
src*string—Square thumbnail URL
title*string—Community or group name
metastring—Muted meta line (e.g. "312 members")
byNamestring—Organizer name in the bottom row
bySrcstring—Organizer avatar URL; falls back to a gradient dot
hrefstring—If set, the whole card links to this href
tone"peach" | "violet" | "emerald"—Gradient dot color when there is no organizer avatar
classNamestring—Additional classes merged onto the root

More Card components

View all Card
98%+2.1%

Customer satisfaction

vs last quarter

We rebuilt our marketing site in a weekend. The blocks are clean, accessible, and the code reads like we wrote it ourselves.
Mary PollockFounder, Nordwind