BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/mynaui/appheaders5

Appheaders5

mynaui/appheaders5
FreeBlock

App headers are used to display a navigation bar at the top of a page.

Install it

npx shadcn@latest add https://mynaui.com/r/appheaders5.json

Source

appheaders5.tsxmynaui.com/r/appheaders5.json
1"use client";
2
3import Logo from "@/ui/logo";
4import { Avatar, AvatarFallback, AvatarImage } from "@/ui/avatar";
5import { Card } from "@/ui/card";
6import { Bell, Calendar, Message } from "@mynaui/icons-react";
7import { useEffect, useState } from "react";
8
9export default function AppHeaders5() {
10 const [greeting, setGreeting] = useState("");
11
12 useEffect(() => {
13 const hour = new Date().getHours();
14 if (hour < 12) setGreeting("Good Morning");
15 else if (hour < 18) setGreeting("Good Afternoon");
16 else setGreeting("Good Evening");
17 }, []);
18
19 return (
20 <header className="border-b bg-background px-6 py-4">
21 <div className="flex items-center justify-between">
22 <div className="flex items-center gap-6">
23 <Logo />
24 <h1 className="hidden text-lg font-medium text-muted-foreground md:block md:text-xl">
25 {greeting},{" "}
26 <span className="font-semibold text-foreground">Praveen!</span>
27 </h1>
28 </div>
29
30 {/* User Profile */}
31 <div className="flex items-center gap-3">
32 <div className="relative">
33 <Bell className="size-5 text-muted-foreground hover:text-foreground" />
34 <span className="absolute -top-1 right-0 flex size-3 items-center justify-center rounded-full bg-red-500 text-[8px] font-medium text-white">
35 2
36 </span>
37 </div>
38 <Avatar className="size-8">
39 <AvatarImage src="https://github.com/shadcn.png" alt="Praveen" />
40 <AvatarFallback>PJ</AvatarFallback>
41 </Avatar>
42 </div>
43 </div>
44
45 {/* Summary Cards */}
46 <div className="mt-4 grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3">
47 <Card className="flex items-center gap-3 p-4">
48 <div className="flex size-10 items-center justify-center rounded-full bg-blue-50">
49 <Calendar className="size-5 text-blue-600" />
50 </div>
51 <div>
52 <div className="text-sm font-medium">Tasks Due Today</div>
53 <div className="flex items-center gap-1 justify-center">
54 <span className="text-2xl font-semibold text-blue-600">3</span>
55 <span className="text-sm text-muted-foreground">tasks</span>
56 </div>
57 </div>
58 </Card>
59
60 <Card className="flex items-center gap-3 p-4">
61 <div className="flex size-10 items-center justify-center rounded-full bg-violet-50">
62// … truncated

What it pulls in

npm packages

  • @mynaui/icons-react

Other registry items

  • avatar
  • card

Files it writes

  • page.tsx
  • appheaders5.tsx
  • ui/logo.tsx

Facts

Registry
mynaui
Type
registry:block
Access
Free
Files written
3
Licence
the repository states none
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

mynaui.com Raw registry item This item as JSON

More from mynaui

All 346 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
40414041mynauiBlocksFreeno deps · 2 files
40424042mynauiBlocksFreeno deps · 2 files
40434043mynauiBlocksFreeno deps · 2 files
40444044mynauiBlocksFreeno deps · 2 files
40454045mynauiBlocksFreeno deps · 2 files
App sheets1app-sheets1mynauiBlocksFreeno deps · 2 files
App sheets2app-sheets2mynauiBlocksFreeno deps · 2 files
App sheets3app-sheets3mynauiBlocksFreeno deps · 2 files
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex