# Single Quote Highlight

> A large single quote set in generous space with the author name and title. Use it to feature one standout endorsement and let it carry real weight.

A shadcn/ui block from the [@shadcn-ui-blocks](https://www.shadcn-ui-blocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcn-ui-blocks/portfolio-portfolio-quote-and-feedback-single-quote-highlight).

- Page, with a live preview: https://shadcn.exchange/r/shadcn-ui-blocks/portfolio-portfolio-quote-and-feedback-single-quote-highlight
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcn-ui-blocks/portfolio-portfolio-quote-and-feedback-single-quote-highlight-light-a83451100f2ccfdf.png
- Registry item: https://www.shadcn-ui-blocks.com/r/portfolio-portfolio-quote-and-feedback-single-quote-highlight.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://www.shadcn-ui-blocks.com/r/portfolio-portfolio-quote-and-feedback-single-quote-highlight.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `class-variance-authority`, `radix-ui`

## Files

### `components/blocks/portfolio/portfolio-quote-and-feedback/single-quote-highlight.tsx`

```tsx
import { Badge } from '@/components/ui/badge';

export default function SingleQuoteHighlight() {
  return (
    <section className="bg-muted/40 w-full py-12 md:py-24 lg:py-32">
      <div className="container mx-auto px-4 md:px-6">
        <div className="flex flex-col items-center justify-center space-y-4 text-center">
          <div className="space-y-2">
            <Badge variant="secondary">Featured Testimonial</Badge>
            <h2 className="text-3xl font-bold tracking-tighter sm:text-4xl md:text-5xl">
              Client <span className="text-primary">Spotlight</span>
            </h2>
            <p className="text-muted-foreground mx-auto max-w-[700px] md:text-xl/relaxed">
              Hear what our clients have to say about working with us
            </p>
          </div>

          <div className="mx-auto mt-10 w-full max-w-3xl">
            <blockquote className="relative">
              <div className="relative z-10">
                <p className="text-2xl leading-relaxed font-medium md:text-3xl md:leading-relaxed">
                  &ldquo;Their creativity and attention to detail transformed
                  our vision into a reality that exceeded our expectations. The
                  result wasn&apos;t just visually stunning, but strategically
                  crafted to achieve our business goals.&rdquo;
                </p>
                <span className="text-primary absolute right-0 bottom-0 translate-x-6 translate-y-8 text-8xl leading-none opacity-20"></span>
                <div className="mt-8 flex items-center justify-center gap-4 sm:justify-start">
                  <div className="relative h-14 w-14 overflow-hidden rounded-full">
                    <img
                      src="https://images.unsplash.com/photo-1580489944761-15a19d654956?q=80&w=1000&auto=format&fit=crop"
                      alt="Alexandra Chen"
                      className="object-cover"
                    />
                  </div>
                  <div className="text-left">
                    <p className="font-semibold">Alexandra Chen</p>
                    <p className="text-muted-foreground">
                      Marketing Director, Innovate Inc.
                    </p>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </section>
  );
}
```

### `components/ui/badge.tsx`

```tsx
import * as React from "react"
import { cva, type VariantProps } from "class-variance-authority"
import { Slot } from "radix-ui"

import { cn } from "@/lib/utils"

const badgeVariants = cva(
  "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium whitespace-nowrap transition-all focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
        secondary:
          "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
        destructive:
          "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
        outline:
          "border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",
        ghost:
          "hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",
        link: "text-primary underline-offset-4 hover:underline",
      },
    },
    defaultVariants: {
      variant: "default",
    },
  }
)

function Badge({
  className,
  variant = "default",
  asChild = false,
  ...props
}: React.ComponentProps<"span"> &
  VariantProps<typeof badgeVariants> & { asChild?: boolean }) {
  const Comp = asChild ? Slot.Root : "span"

  return (
    <Comp
      data-slot="badge"
      data-variant={variant}
      className={cn(badgeVariants({ variant }), className)}
      {...props}
    />
  )
}

export { Badge, badgeVariants }
```
