slide-cn

Title Slide

Heroes 7

About

A centered slide layout with heading, subheading, and meta text for building presentation title screens.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Title Slide to your project and fits it to your theme.

Code

How Title Slide is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { TitleSlide } from "@/components/ui/title-slide";

export default function TitleSlideDemo() {
  return (
    <div className="flex min-h-[520px] w-full items-center justify-center p-6">
      <div
        className="relative flex aspect-[16/9] w-full max-w-[1120px] items-center justify-center overflow-hidden rounded-2xl"
        style={{
          background:
            "linear-gradient(135deg, #1b2657 0%, #29386f 45%, #1a2450 100%)",
        }}
      >
        {/* dotted aurora-corner pattern (top-left) */}
        <div
          className="pointer-events-none absolute inset-0"
          style={{
            backgroundImage:
              "radial-gradient(rgba(255,255,255,0.22) 1px, transparent 1px)",
            backgroundSize: "7px 7px",
            WebkitMaskImage:
              "linear-gradient(135deg, black 0%, rgba(0,0,0,0.4) 22%, transparent 40%)",
            maskImage:
              "linear-gradient(135deg, black 0%, rgba(0,0,0,0.4) 22%, transparent 40%)",
          }}
        />
        <TitleSlide className="relative z-10 gap-5 px-8">
          <TitleSlide.Heading className="text-white text-7xl">
            Welcome to Slide-CN
          </TitleSlide.Heading>
          <TitleSlide.SubHeading className="text-white/70">
            Create beautiful presentations using code
          </TitleSlide.SubHeading>
          <TitleSlide.Meta className="text-white/50">
            Internal architecture review - Jan 2026
          </TitleSlide.Meta>
        </TitleSlide>
      </div>
    </div>
  );
}

More by slide-cn

View all
  • Timeline

    Timeline

    36
  • Slide Image

    Slide Image

    12
  • Radial Gradient Background

    Radial Gradient Background

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Editorial Collage Hero

    Editorial Collage Hero

    507
  • Hero Section

    Hero Section

    445
  • Aero Hero-3

    Aero Hero-3

    618
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    442