ham7a311

Satin Hero

Heroes

About

A full-bleed WebGL personal portfolio hero with an animated draped-satin shader background, a serif headline pressed into the cloth, numbered nav links, and solid/frosted call-to-action pills.

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

Code

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

Usage.tsx

"use client";
import { SatinHero } from "@/components/ui/satin-hero";

const Pen = () => (
  <svg
    viewBox="0 0 24 24"
    fill="none"
    stroke="currentColor"
    strokeWidth="1.8"
    strokeLinejoin="round"
  >
    <path d="M4 20l1.2-4.6L15.6 5a2.1 2.1 0 0 1 3 3L8.2 18.4Z" />
    <path d="M13.8 6.8l3 3" />
  </svg>
);
const Lens = () => (
  <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.8">
    <rect x="3.5" y="3.5" width="17" height="17" rx="5" />
    <circle cx="12" cy="12" r="4" />
    <circle cx="17.2" cy="6.8" r="0.9" fill="currentColor" stroke="none" />
  </svg>
);

export default function Demo() {
  return (
    <div className="flex min-h-screen w-full">
      <SatinHero
        className="w-full"
        name="Salma Haddad"
        links={[
          { label: "Work", href: "#" },
          { label: "Notes", href: "#" },
          { label: "About", href: "#" },
          { label: "Contact", href: "#" },
        ]}
        headline={["Care is a slow signal.", "I make it carry."]}
        intro="I'm Salma, a designer in Muscat working where software, small business and craft meet, and on how design can carry between them."
        primary={{ label: "Write to me", href: "#" }}
        secondary={{ label: "See the work", href: "#" }}
        socials={[
          { label: "Writing", href: "#", icon: <Pen /> },
          { label: "Photographs", href: "#", icon: <Lens /> },
        ]}
        year={2026}
        theme="light"
      />
    </div>
  );
}

More by ham7a311

View all
  • Route Globe

    Route Globe

    13
  • Wave Mesh

    Wave Mesh

    8
  • Uptime Ribbon

    Uptime Ribbon

    6
  • Glass Carousel

    Glass Carousel

    6
  • Glass Tiles

    Glass Tiles

    6
  • Streak Field Stats

    Streak Field Stats

    5
  • Wind Map

    Wind Map

    5
  • Time Window

    Time Window

    4

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Hero

    Hero

    1.2K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    920
  • HeroSectionWithGradient

    HeroSectionWithGradient

    334
  • Hero 03

    Hero 03

    314
  • Editorial Collage Hero

    Editorial Collage Hero

    425
  • Glass Fold

    Glass Fold

    197