Resources 4 - Gated ebook download with formPro

A split layout with an ebook cover, title and "what's inside" checklist on the left and a lead-capture form card on the right that swaps to a download confirmation on submit. Use it as a landing section for gated content like ebooks, reports or whitepapers.

About Resources 4

A split layout with an ebook cover, title and "what's inside" checklist on the left and a lead-capture form card on the right that swaps to a download confirmation on submit. Use it as a landing section for gated content like ebooks, reports or whitepapers.

Resources 4 is a pro resources block for React, built on shadcn/ui and Tailwind CSS. It ships as 114 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • ebook
  • gated
  • lead-capture
  • form
  • download
  • landing

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/resources-04

Dependencies installed automatically: lucide-react.

Uses: button, input, label, reveal, utils.

Usage

import Resources04 from "@/components/blocks/resources-04"

export default function Page() {
  return <Resources04 />
}

FAQ