Split-layout hero with interactive email client mockup featuring sidebar, message list, and floating notification. Perfect for email and communication apps.
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.
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.
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
npx shadcn add "https://ui.beste.co/r/hero43?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
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.
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.
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:
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"
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
badge | { label: string; variant?: "default" | "secondary" | "outline" } | – | Pill above the heading, always rendered with a mail icon |
heading | string | – | Main heading (required) |
description | string | – | Supporting paragraph under the heading |
buttons | HeroButton[] | [] | CTA buttons; the first one gets a trailing arrow icon |
sidebar | SidebarItem[] | [] | Folder list rendered in the mockup's left rail |
emails | EmailItem[] | [] | Messages rendered in the mockup's list pane |
floatingNotification | FloatingNotification | – | Card that floats over the top-right corner of the mockup |
displayPosition | "left" | "right" | "left" | Which side the text column renders on |
className | string | – | Extra classes for the outer <section> |
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;
};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.sm breakpoint (hidden sm:block); on small screens the mockup shows only the message list.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).@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.Card with backdrop-blur-xl and a translucent bg-background/90, so page background shows faintly through it.hero75
Split-layout hero with full chat interface mockup featuring channels sidebar, message threads, online users, and floating notification. Perfect for collaboration and messaging apps.
hero25
Split-layout hero with interactive dashboard mockup featuring stats cards, line chart, and recent activity feed. Perfect for SaaS and analytics platforms.
hero53
Split-layout hero with realistic iPhone mockup, notch detail, and App Store/Play Store download buttons. Perfect for mobile app landing pages.
hero77
Split-layout hero with weekly calendar mockup showing events, attendees, and floating reminder notification. Perfect for scheduling and calendar apps.
hero69
Minimal centered hero with inline email input field and submit button for newsletter or waitlist signups. Perfect for coming-soon pages and early access campaigns.
hero76
Split-layout hero with interactive kanban board mockup showing tasks with priorities, tags, assignees, and floating completion stats. Perfect for project management tools.