Email App Hero with Inbox Mockup

New Features

Your inbox, reimagined

A smarter way to manage your communications. AI-powered sorting, instant search, and seamless collaboration for modern teams.

Search emails...
Inbox
12
Starred
3
Sent
Archive
Trash
Sarah Chen
Sarah Chen
2m ago

Q4 Marketing Strategy

Hi team, I've attached the updated marketing plan for...

Alex Rivera
Alex Rivera
1h ago

Design Review Feedback

Great work on the new dashboard! A few suggestions...

Jordan Lee
Jordan Lee
3h ago

Weekly Sync Notes

Here are the action items from today's meeting...

New message

You have 3 unread emails

About this block

Email App Hero with Inbox MockupPRO

Split-layout hero with interactive email client mockup featuring sidebar, message list, and floating notification. Perfect for email and communication apps.

Hero43: Email App Hero with Inbox Mockup

Split hero with a text column beside a working email client mockup: browser-style traffic-light header, a collapsible sidebar of folders, and a scrollable message list with avatars, unread state, and starred messages. A notification card floats over the mockup with a continuous up-down bob.

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/hero43?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

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

This installs the block to components/beste/block/hero43.tsx and its shadcn/ui dependencies: Badge, Button, Card.

Quick start

The installed file exports hero43Demo alongside the block: the exact props behind the preview above. Spread it to get a working hero in one line.

tsx
import { Hero43, hero43Demo } from "@/components/beste/block/hero43";

export default function Page() {
  return <Hero43 {...hero43Demo} />;
}

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

tsx
import { Bell, Inbox, Star } from "lucide-react";
import { Hero43 } from "@/components/beste/block/hero43";

export default function Page() {
  return (
    <Hero43
      badge={{ label: "New Features", variant: "outline" }}
      heading="Your inbox, reimagined"
      description="AI-powered sorting and instant search for modern teams."
      buttons={[{ label: "Start Free Trial", href: "https://beste.co" }]}
      sidebar={[
        { icon: Inbox, label: "Inbox", count: 12, active: true },
        { icon: Star, label: "Starred", count: 3 },
      ]}
      emails={[
        {
          sender: { name: "Sarah Chen" },
          subject: "Q4 Marketing Strategy",
          preview: "Hi team, I've attached the updated plan for...",
          time: "2m ago",
          unread: true,
        },
      ]}
      floatingNotification={{ icon: Bell, title: "New message", message: "You have 3 unread emails" }}
      displayPosition="left"
    />
  );
}

Props

PropTypeDefaultDescription
badge{ label: string; variant?: "default" | "secondary" | "outline" }–Pill above the heading, always rendered with a mail icon
headingstring–Main heading (required)
descriptionstring–Supporting paragraph under the heading
buttonsHeroButton[][]CTA buttons; the first one gets a trailing arrow icon
sidebarSidebarItem[][]Folder list rendered in the mockup's left rail
emailsEmailItem[][]Messages rendered in the mockup's list pane
floatingNotificationFloatingNotification–Card that floats over the top-right corner of the mockup
displayPosition"left" | "right""left"Which side the text column renders on
classNamestring–Extra classes for the outer <section>
ts
type HeroButton = {
  label: string;
  href: string;
  variant?: "default" | "outline" | "secondary" | "ghost" | "link";
};

type SidebarItem = {
  icon: LucideIcon;
  label: string;
  count?: number;
  active?: boolean;
};

type EmailItem = {
  sender: { name: string; avatar?: string };
  subject: string;
  preview: string;
  time: string;
  unread?: boolean;
  starred?: boolean;
};

type FloatingNotification = {
  icon: LucideIcon;
  title: string;
  message: string;
};

Behavior notes

  • displayPosition only reorders the grid's first child (the text column): "right" moves it after the mockup via lg:[&>*:first-child]:order-2, leaving the mockup on the left; "left" (default) keeps natural source order.
  • The sidebar rail is hidden below the sm breakpoint (hidden sm:block); on small screens the mockup shows only the message list.
  • Unread emails get a bg-primary/5 row tint and a bolder sender name and subject; starred emails show a filled yellow star next to the timestamp. A sender without an avatar falls back to a circular initial (first letter of name).
  • The floating notification bobs continuously via a CSS @keyframes float block declared with Next.js styled-jsx (<style jsx>) inside the component, animating translateY between 0 and -8px over a 3-second loop, rather than a Tailwind utility or Framer Motion.
  • The mockup itself is a Card with backdrop-blur-xl and a translucent bg-background/90, so page background shows faintly through it.

More Hero blocks

View all Hero
PRO

hero75

Team Chat App Hero

PRO

hero25

Dashboard Preview Hero

PRO

hero77

Calendar Schedule Hero

Get Pro access