Componentdata0.36 KB gzipZero dependencies

Quote Wall

Masonry quote wall built on Quote cards.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

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

npx bigbullui add quote-wall

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { QuoteWall } from "@/components/ui/quote-wall"; <QuoteWall />

Source code

quote-wall.tsx + 2 helpers

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

tsxquote-wall.tsx35 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils";import { Quote } from "./quote"; export interface QuoteWallEntry {  id: string;  quote: string;  author: string;} export interface QuoteWallProps extends React.HTMLAttributes<HTMLDivElement> {  quotes: QuoteWallEntry[];  columns?: 2 | 3;} /** Testimonial quote wall: masonry card layout. */

Props

PropTypeDescription
quotesQuoteWallEntry[]Configures quotes. (Default: [])
columns2 | 3Column definitions describing headers, cell keys, and sorting. (Default: 2)