Event Card
manifest-ui/event-cardFreeBlock
Display event information with multiple layouts. Supports events with images, signals, vibe tags, and display-formatted date/time. Entire card is clickable.
Install it
npx shadcn@latest add https://ui.manifest.build/r/event-card.jsonSource
1'use client'23import {4 CalendarX,5 CirclePause,6 Clock,7 Flame,8 MapPin,9 Sparkles,10 Star,11 Ticket,12 Timer,13 TrendingUp,14 XCircle15} from 'lucide-react'16import type { Event, EventSignal } from './types'17import { demoEvent } from './demo/events'1819/**20 * ═══════════════════════════════════════════════════════════════════════════21 * EventCardProps22 * ═══════════════════════════════════════════════════════════════════════════23 *24 * Props for the EventCard component. Displays event information with multiple25 * layout variants, signal badges, vibe tags, and organizer ratings.26 */27export interface EventCardProps {28 data?: {29 /** The event object to display. */30 event?: Event31 }32 actions?: {33 /** Called when the card is clicked. */34 onClick?: (event: Event) => void35 }36 appearance?: {37 /**38 * Card layout variant.39 * @default "default"40 */41 variant?: 'default' | 'compact' | 'horizontal' | 'covered'42 /**43 * Whether to show the event signal badge.44 * @default true45 */46 showSignal?: boolean47 /**48 * Whether to show vibe tags.49 * @default true50 */51 showTags?: boolean52 /**53 * Whether to show the organizer rating.54 * @default true55 */56 showRating?: boolean57 }58}5960function EventSignalBadge({ signal }: { signal: EventSignal }) {61 const config: Record<62 EventSignal,63 { label: string; icon: typeof Flame; className: string }64 > = {65 'going-fast': {66 label: 'Going Fast',67 icon: Flame,68 className: 'bg-orange-500/10 text-orange-600 border-orange-200'69 },70 popular: {71 label: 'Popular',72 icon: TrendingUp,73 className: 'bg-pink-500/10 text-pink-600 border-pink-200'74 },75 'just-added': {76 label: 'Just Added',77 icon: Sparkles,78 className: 'bg-blue-500/10 text-blue-600 border-blue-200'79 },80 'sales-end-soon': {81 label: 'Sales End Soon',82 icon: Timer,83 className: 'bg-red-500/10 text-red-600 border-red-200'84 },85 'few-tickets-left': {86 label: 'Few Tickets Left',87 icon: Ticket,88 className: 'bg-orange-500/10 text-orange-600 border-orange-200'89 },90 canceled: {91 label: 'Canceled',92// … truncated
What it pulls in
npm packages
Other registry items
Files it writes
More from Manifest UI
All 32 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Amount Inputamount-input | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Chat Conversationchat-conversation | Manifest UI | Blocks | Free | 1 dep · 3 files | |
| Contact Formcontact-form | Manifest UI | Blocks | Free | 1 dep · 3 files | |
| Date & Time Pickerdate-time-picker | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Confirmationevent-confirmation | Manifest UI | Blocks | Free | 1 dep · 2 files | |
| Event Detailevent-detail | Manifest UI | Blocks | Free | 3 deps · 2 files | |
| Event Listevent-list | Manifest UI | Blocks | Free | 3 deps · 2 files | |
| Herohero | Manifest UI | Blocks | Free | 1 dep · 2 files |
