Sticky Stats Scroller

Two-column layout with sticky stats and scrollable feature cards

FREE

Feature179: Sticky Stats Scroller

A two-column layout: a sticky left column carries the section header and a 2-up grid of headline stats, while a right column of bordered feature cards scrolls past it, separated by a single vertical divider.

Free block

This block is free. No license or account is required: install it with the CLI and use it in unlimited projects.

Installation

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/feature179"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/feature179"

This installs the block to components/beste/block/feature179.tsx and the badge shadcn/ui primitive it depends on.

Quick start

The installed file exports feature179Demo alongside the block: the exact props behind the preview above. Spread it to get a working sticky stats layout in one line.

tsx
import { Feature179, feature179Demo } from "@/components/beste/block/feature179";

export default function Page() {
  return <Feature179 {...feature179Demo} />;
}

Then replace the demo with your own props. Written out, the same setup looks like this:

tsx
import { Zap, Shield, BarChart3 } from "lucide-react";
import { Feature179 } from "@/components/beste/block/feature179";

export default function Page() {
  return (
    <Feature179
      badge={{ label: "Platform", variant: "secondary" }}
      heading="One platform to <strong>replace them all</strong>"
      description="Consolidate your entire workflow into a single platform."
      stats={[
        { value: "99.99%", label: "Uptime SLA" },
        { value: "50ms", label: "Avg Response" },
        { value: "10M+", label: "API Requests/Day" },
        { value: "4.9/5", label: "Customer Rating" },
      ]}
      features={[
        { icon: Zap, title: "Instant Performance Boost", description: "Sub-100ms response times." },
        { icon: Shield, title: "Enterprise-Grade Security", description: "SOC 2 Type II certified." },
        { icon: BarChart3, title: "Actionable Analytics", description: "Custom dashboards and cohort analysis." },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional eyebrow badge in the sticky column
headingstringSticky column heading. Supports inline <strong> markup, rendered via dangerouslySetInnerHTML
descriptionstringSticky column intro text
statsStatItem[][]Headline value/label pairs shown in a 2-up grid
featuresFeatureItem[][]Bordered icon, title, and description cards in the scrolling right column
classNamestringExtra classes for the outer <section>
ts
type StatItem = { value: string; label: string };

type FeatureItem = { icon: LucideIcon; title: string; description: string };

Behavior notes

More Feature blocks

View all Feature
FREE

feature180

Sticky Image Scroller

Two-column layout with sticky image and scrollable feature cards

FREE

feature178

Sticky Benefits Timeline

Two-column benefits section with sticky left content and scrollable timeline

PRO

feature209

Sticky Services

Sticky intro column beside a scrollable stack of numbered service blocks.

PRO

feature227

Sticky feature list with images

Sticky left intro paired with a stacked, numbered list of feature blocks, each with a title, description, and small image.

PRO

feature203

Feature with Stats Grid and Image

Two-column feature section with heading, description, and a 2x2 stats grid (icon card, value, label) on one side and a square image on the other. Image position is configurable.

PRO

feature164

Scroll-Spy Sticky Sidebar Feature

Sticky sidebar navigation with scroll-spy tracking. Left menu highlights the active section as users scroll through feature cards with images. Uses IntersectionObserver for real-time active state.