asanshay

Page Header

Buttons

About

A page header with a large title, optional description, and a slot for actions to keep page layouts consistent.

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

Code

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

Usage.tsx

import { PageHeader } from "@/components/ui/page-header";
import { Button } from "@/components/ui/button";

export default function Default() {
  return (
    <div className="w-full max-w-3xl mx-auto rounded-lg border bg-background text-foreground overflow-hidden">
      <PageHeader
        title="Projects"
        description="Manage and organize all of your team's projects in one place."
      >
        <Button>New Project</Button>
      </PageHeader>
      <div className="h-32" />
    </div>
  );
}

More by asanshay

View all
  • Chat Reasoning

    Chat Reasoning

    131
  • Shader Loader

    Shader Loader

    69
  • Motion Blur Text

    Motion Blur Text

    36
  • Reveal

    Reveal

    14
  • Chat Tool

    Chat Tool

    10
  • Chat Message

    Chat Message

    7

More in Buttons

View all
  • Eclipse Button

    Eclipse Button

    2
  • Button Save

    Button Save

    46
  • Button

    Button

    4
  • Button Retro

    Button Retro

    62
  • App Store Button

    App Store Button

    455
  • Texture Button

    Texture Button

    92
  • Button

    Button

    9
  • Button

    Button

    67