Grid with Newsletter Card

Blog

Stories & Updates

The latest news and insights from our team.

Subscribe to our newsletter

Get the latest articles delivered to your inbox.

About this block

Grid with Newsletter CardPRO

Four-column grid mixing blog cards with an integrated newsletter signup card. Email input and subscribe button embedded in the layout.

Blog14: Grid with Newsletter Card

A centered heading block over a responsive card grid that mixes a newsletter signup card (icon, heading, description, email input, subscribe button) with blog post cards, each showing a linked cover image, an optional first tag, a clamped title and summary, and an author name plus read time.

Upgrade to Pro

Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.

Upgrade Now

Installation

Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.

Radix flavor

bash
npx shadcn add "https://ui.beste.co/r/blog14?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
npx shadcn add "https://ui.beste.co/r-base/blog14?email=YOUR_EMAIL&license_key=YOUR_KEY"

This installs the block to components/beste/block/blog14.tsx, plus the badge, button, and input shadcn/ui primitives it uses for the eyebrow and post tags, the subscribe button, and the newsletter email field.

Quick start

The installed file exports blog14Demo alongside the block: the exact props behind the preview above. Spread it to get a working blog grid with an embedded newsletter card in one line.

tsx
import { Blog14, blog14Demo } from "@/components/beste/block/blog14";

export default function Page() {
  return <Blog14 {...blog14Demo} />;
}

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

tsx
import { Blog14 } from "@/components/beste/block/blog14";

export default function Page() {
  return (
    <Blog14
      badge={{ label: "Blog", variant: "default" }}
      heading="Stories & Updates"
      description="The latest news and insights from our team."
      newsletter={{
        heading: "Subscribe to our newsletter",
        description: "Get the latest articles delivered to your inbox.",
        placeholder: "Enter your email",
        buttonLabel: "Subscribe",
      }}
      posts={[
        {
          image: { src: "/posts/design-systems.jpg", alt: "Design systems" },
          title: "The Future of Design Systems",
          summary: "How design systems evolve to meet complex web apps.",
          readTime: "8 min read",
          author: { name: "Lisa Park", title: "Senior Developer" },
          tags: [{ label: "Design", href: "/blog/design-systems" }],
          href: "/blog/design-systems",
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }Optional eyebrow badge above the heading
headingstringSection heading, rendered as plain text
descriptionstringSupporting paragraph under the heading
postsBlogPost[][]Post cards rendered into the grid
newsletterNewsletterSignup card placed as the first grid cell
classNamestringExtra classes for the outer <section>
ts
type Author = {
  name: string;
  title?: string;
  avatar?: { src: string; alt: string };
  href?: string;
};

type Tag = {
  label: string;
  href?: string;
};

type BlogPost = {
  image: { src: string; alt: string };
  title: string;
  summary: string;
  date?: string;
  readTime?: string;
  author?: Author;
  tags?: Tag[];
  href?: string;
};

type Newsletter = {
  heading?: string;
  description?: string;
  placeholder?: string;
  buttonLabel?: string;
};

Behavior notes

  • The newsletter card is only rendered when newsletter is passed, and it always occupies the first cell of the grid, pushing every post one slot to the right.
  • The grid is md:grid-cols-3 lg:grid-cols-4, so the newsletter card counts against the same column budget as the posts.
  • The last two posts (index === posts.length - 1 and posts.length - 2) are hidden below the lg breakpoint via hidden lg:flex, so smaller screens show a shorter list; order this array with the least important posts last.
  • The email Input and the "Subscribe" Button are purely presentational: there is no onSubmit, onChange, or onClick handler and no internal state, so capturing the address is entirely up to the integrator.
  • Only the first tag is ever displayed (post.tags?.[0]); any additional tags in the array are ignored.
  • Card images and titles both link to post.href, falling back to "#" when it is omitted; the image scales on hover via a group/blog14 hover class.
  • heading is rendered as plain text with no dangerouslySetInnerHTML, so inline markup like <strong> will not be parsed.
  • Both title and summary are clamped to two lines (line-clamp-2), and date is accepted on each post but never rendered, only author.name and readTime appear in the card footer.

Wiring the form up

This block ships the form markup only; state, validation, and submit are yours to add. Our guide wires the shadcn Field primitives to React Hook Form, TanStack Form, and Formisch on one field system.

More Blog blocks

View all Blog
FREE

blog3

Card Grid with Authors

Three-column responsive grid of blog cards featuring author avatars, tag badges, and hover zoom effects. Clean card design with date and read time metadata.

PRO

blog43

Editorial Article Grid

A blog listing with an eyebrow over a hairline rule, a two-column heading, and three linked article cards with a hover-zoom image, a category label, a title, an excerpt, and byline.

PRO

blog48

Quad Grid

A newsroom listing with a square eyebrow, a two-column heading band over a hairline rule, and four equally weighted stories as bordered cards, each linking through a hover-zoom image, a category kicker, a bold headline, a summary, and a byline pinned to the card foot.

PRO

blog62

Newsletter Panel With Back Issues

A blog section splitting a bordered container between the newsletter pitch with a cadence line on a hairline and an image tile holding a working subscribe row, over three linked back issues.

PRO

blog10

Alternating Feature Cards

Large alternating left-right blog cards with full article summaries. Image and content switch sides for visual variety. Read more buttons included.

PRO

blog5

Horizontal List with Icons

Vertical stack of horizontal blog cards with left-aligned thumbnails. Features calendar and clock icons for metadata, author titles, and tag badges.