# Awards 2 - Sticky label with awards list

> A two-column layout with a small uppercase label and sticky positioning beside a list of award titles and years separated by hairline borders.

A shadcn/ui block from the [@shadcnblocks](https://shadcnblocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnblocks/awards2).

- Page, with a live preview: https://shadcn.exchange/r/shadcnblocks/awards2
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnblocks/awards2-light-50f16f9db838fad0.png
- Registry item: https://shadcnblocks.com/r/awards2.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnblocks.com/r/awards2.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: `cn`

## Files

### `block/awards2/awards2.tsx`

```tsx
import React from "react";
import { cn } from "cn";

interface Awards2Props {
  className?: string;
}

const Awards2 = ({ className }: Awards2Props) => {
  const awards = [
    { title: "Creative Collaboration Award", year: "2023" },
    { title: "Design Excellence Prize", year: "2023" },
    { title: "Innovation in Web Development", year: "2022" },
    { title: "Best User Experience Design", year: "2022" },
    { title: "Outstanding Visual Design", year: "2021" },
    { title: "Digital Innovation Award", year: "2021" },
    { title: "Creative Technology Excellence", year: "2020" },
    { title: "Best Interactive Design", year: "2020" },
    { title: "Web Design Achievement", year: "2019" },
  ];

  return (
    <section className={cn("py-32", className)}>
      <div className="container">
        <div className="grid grid-cols-1 gap-20 lg:grid-cols-6">
          <div className="top-10 col-span-2 flex h-fit w-fit items-center gap-3 py-8 lg:sticky">
            <span className="size-3 bg-orange-500" />
            <p className="text-2xl text-foreground/30 uppercase">AWARDS</p>
          </div>
          <ul className="col-span-4 w-full">
            {awards.map((award, index) => (
              <li key={index} className="flex justify-between border-b py-4">
                <h3 className="text-2xl font-medium tracking-tight">
                  {award.title}
                </h3>
                <p className="font-mono text-lg tracking-tighter text-foreground/50">
                  {award.year}
                </p>
              </li>
            ))}
          </ul>
        </div>
      </div>
    </section>
  );
};

export { Awards2 };
```
