Componentdata0.35 KB gzipZero dependencies
Quote
Blockquote with dashed left frame, stamp entrance and mono uppercase cite line.
Preview
Live Preview
Installation
Tokens guide →Add to your project via CLI (zero dependencies, code you own):
npx bigbullui add quoteOr install the full npm package:
npm install bigbulluiUsage
tsx3 lines
import { Quote } from "@/components/ui/quote"; <Quote cite="Jane Doe" author="Founder">Best stub we ever printed.</Quote>Source code
quote.tsx + 1 helperZero third-party dependencies (2 local files shown in tabs below).
tsxquote.tsx47 lines
import * as React from "react";import { cn } from "./lib/utils"; export interface QuoteProps extends React.HTMLAttributes<HTMLElement> { className?: string; children?: React.ReactNode; cite?: string; author?: string;} export function Quote({ className, children, cite, author, ...props}: QuoteProps) { const citeClasses = "mt-2 text-sm font-mono text-uppercase text-muted-foreground"; Props
Interactive Prop Playground
Tweak parsed AST props below to generate ready-to-paste JSX.
tsx3 lines
import { Quote } from "@/components/ui/quote"; <Quote />| Prop | Type | Description |
|---|---|---|
| className | string | Optional Tailwind or custom CSS classes merged with component styles. |
| children | React.ReactNode | Child elements rendered inside the component. |
| cite | string | Configures cite. |
| author | string | Configures author. |