Section Header
Section title block.
import { SectionHeader, SectionHeaderDescription, SectionHeaderTitle,} from "@/registry/new-york/items/manpowerhub-section-header/components/section-header";export function ManpowerhubSectionHeaderBasic() { return ( <SectionHeader className="p-4"> <SectionHeaderTitle>Autonomous AI Agents</SectionHeaderTitle> <SectionHeaderDescription> Each agent observes data and executes workflows without manual input. </SectionHeaderDescription> </SectionHeader> );}Installation
Section titled “Installation”This installation provides support for all official Shadcn icon libraries. The component is otherwise identical to the non-experimental installation.
Icon support is experimental and may not be fully stable since it uses internal Shadcn APIs.
This component relies on other items which must be installed first.
Copy and paste the following code into your project.
components/ui/section-header.tsx
import * as React from "react";
import { cn } from "@/lib/utils";
function SectionHeader({ className, ...props }: React.ComponentProps<"div">) { return ( <div data-slot="section-header" className={cn("mb-3.5", className)} {...props} /> );}
function SectionHeaderTitle({ className, ...props}: React.ComponentProps<"h3">) { return ( <h3 data-slot="section-header-title" className={cn( "mb-0.5 text-[13.5px] font-semibold text-foreground", className, )} {...props} /> );}
function SectionHeaderDescription({ className, ...props}: React.ComponentProps<"p">) { return ( <p data-slot="section-header-description" className={cn( "text-[12.5px] leading-normal text-[var(--text-3)]", className, )} {...props} /> );}
export { SectionHeader, SectionHeaderTitle, SectionHeaderDescription };Update the import paths to match your project setup.
Install the ManpowerHub theme first, then add this section header:
npx shadcn@latest add @woxcn/manpowerhub-section-header