Componentdata0.35 KB gzipZero dependencies

Quote

Blockquote with dashed left frame, stamp entrance and mono uppercase cite line.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

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

npx bigbullui add quote

Or install the full npm package:

npm install bigbullui

Usage

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 helper

Zero 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 />
PropTypeDescription
classNamestringOptional Tailwind or custom CSS classes merged with component styles.
childrenReact.ReactNodeChild elements rendered inside the component.
citestringConfigures cite.
authorstringConfigures author.