BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/square-ui/emails-horizontal-nav

Emails Horizontal Navigation

square-ui/emails-horizontal-nav
FreeComponent

Horizontal navigation for email categories.

Install it

npx shadcn@latest add https://square.lndev.me/registry/emails-horizontal-nav.json

Source

https://raw.githubusercontent.com/ln-dev7/square-ui/master/templates/emails/components/emails/emails-horizontal-nav.tsxsquare.lndev.me/registry/emails-horizontal-nav.json · first 6 KB
1"use client";
2
3import {
4 MailPlusIcon,
5 InboxIcon,
6 SendIcon,
7 FileSpreadsheetIcon,
8 StarIcon,
9 ArchiveIcon,
10 Trash2Icon,
11 FileWarningIcon,
12 AsteriskIcon,
13 MenuIcon,
14} from "lucide-react";
15import { Button } from "@/components/ui/button";
16import { Separator } from "@/components/ui/separator";
17import { useEmailsStore } from "@/store/emails-store";
18import { cn } from "@/lib/utils";
19import {
20 DropdownMenu,
21 DropdownMenuContent,
22 DropdownMenuItem,
23 DropdownMenuSeparator,
24 DropdownMenuTrigger,
25} from "@/components/ui/dropdown-menu";
26
27export function EmailsHorizontalNav() {
28 const { emails, currentFolder, setFolder } = useEmailsStore();
29
30 const mainFolders = [
31 {
32 id: "inbox",
33 label: "Inbox",
34 icon: InboxIcon,
35 count: emails.length.toString() as string | undefined,
36 },
37 { id: "sent", label: "Sent items", icon: SendIcon, count: undefined },
38 {
39 id: "drafts",
40 label: "Drafts",
41 icon: FileSpreadsheetIcon,
42 count: undefined,
43 },
44 { id: "starred", label: "Favorites", icon: StarIcon, count: undefined },
45 { id: "archive", label: "Archive", icon: ArchiveIcon, count: undefined },
46 ];
47
48 const additionalFolders = [
49 { id: "deleted", label: "Deleted", icon: Trash2Icon, count: undefined },
50 { id: "spam", label: "Spam", icon: FileWarningIcon, count: undefined },
51 { id: "junk", label: "Junk", icon: AsteriskIcon, count: undefined },
52 ];
53
54 const allFolders = [...mainFolders, ...additionalFolders];
55
56 return (
57 <div className="flex h-[54px] items-center border-b border-border bg-background px-3 md:px-4">
58 <div className="flex items-center gap-2 md:gap-3 w-full">
59 <Button
60 size="sm"
61 className="relative h-[30px] shrink-0 overflow-hidden bg-linear-to-r from-white to-white hover:opacity-90"
62 >
63 <div className="absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,rgba(205,175,250,1),transparent_50%),radial-gradient(ellipse_at_bottom_right,rgba(129,169,248,1),transparent_50%),radial-gradient(ellipse_at_top_left,rgba(247,203,191,1),transparent_50%),radial-gradient(ellipse_at_bottom_left,rgba(164,252,245,1),transparent_50%)]" />
64 <MailPlusIcon className="relative size-4 text-black" />
65 <span className="relative hidden sm:inline text-black">Compose</span>
66 </Button>
67
68 <Separator orientation="vertical" className="h-5 hidden sm:block" />
69
70 <div className="hidden 2xl:flex items-center gap-2.5 flex-1">
71// … truncated

Files it writes

  • emails-horizontal-nav.json

Facts

Registry
square-ui
Type
registry:component
Access
Free
Files written
1
Licence
NOASSERTION
In the index
at or before 2026-08-13
Last confirmed
yesterday

Go to the source

square.lndev.me zerostaticthemes/square-ui on GitHub Raw registry item This item as JSON

More from square-ui

All 22 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Chat Conversation Viewchat-conversation-viewsquare-uiComponentsFreeno deps
Chat Input Boxchat-input-boxsquare-uiComponentsFreeno deps
Chat Mainchat-mainsquare-uiComponentsFreeno deps
Chat Messagechat-messagesquare-uiComponentsFreeno deps
Chat Sidebarchat-sidebarsquare-uiComponentsFreeno deps
Chat Welcome Screenchat-welcome-screensquare-uiComponentsFreeno deps
Email Detailemail-detailsquare-uiComponentsFreeno deps
Email Listemail-listsquare-uiComponentsFreeno deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

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

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex