"use client"; import type { ReactNode } from "react"; import { cn } from "@/lib/utils"; import { Reveal } from "@/components/animations/reveal"; type RuleCardYProps = { eyebrow: string; title: ReactNode; body?: ReactNode; delay?: number; className?: string; }; /** * Side-stripe rule card. The accent left border carries lecture weight. * Use sparingly (≤ once per slide). On feature slides switch eyebrow color via prop. * * Side-stripe is generally an antipattern in product UI but is retained here as * a deliberate editorial element. Do not duplicate by reflex. */ export function RuleCardY({ eyebrow, title, body, delay = 0, className }: RuleCardYProps) { return (
{eyebrow}
{title}
{body && (

{body}

)}
); }