BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/uselayouts/bottom-menu

Bottom Menu

uselayouts/bottom-menu
FreeComponent

A floating bottom navigation menu with smooth interactions.

Live preview

live · rendered by the registry
Rendered by uselayouts on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://uselayouts.com/r/bottom-menu.json

Source

registry/default/example/bottom-menu.tsxuselayouts.com/r/bottom-menu.json · first 6 KB
1"use client";
2
3import {
4 Notification03Icon,
5 Search01Icon,
6 Sun03Icon,
7 Moon02Icon,
8 ComputerIcon,
9 UserEdit01Icon,
10 PlusSignIcon,
11 Mic01Icon,
12 Camera01Icon,
13 PencilEdit02Icon,
14 FilterHorizontalIcon,
15 AutoConversationsIcon,
16} from "@hugeicons/core-free-icons";
17import { HugeiconsIcon } from "@hugeicons/react";
18import React, { useMemo, useState, useRef, useEffect } from "react";
19import { AnimatePresence, motion } from "motion/react";
20import useMeasure from "react-use-measure";
21import { cn } from "@/lib/utils";
22
23// Change Here
24const MAIN_NAV = [
25 { icon: PlusSignIcon, name: "home" },
26 { icon: Search01Icon, name: "search" },
27 { icon: Notification03Icon, name: "notifications" },
28 { icon: UserEdit01Icon, name: "profile" },
29 { icon: Sun03Icon, name: "theme" },
30];
31
32const HOME_ITEMS = [
33 { icon: PencilEdit02Icon, text: "Note" },
34 { icon: Mic01Icon, text: "Voice" },
35 { icon: Camera01Icon, text: "Screenshot" },
36];
37
38const SEARCH_OPTIONS = [
39 { icon: FilterHorizontalIcon, text: "Filter" },
40 { icon: AutoConversationsIcon, text: "Trending" },
41];
42
43const NOTIFICATION_TYPES = ["Messages", "System Alerts"];
44
45const PROFILE_LINKS = ["My Account", "Settings", "Subscription / Billing"];
46
47const THEME_OPTIONS = [
48 { key: "light", icon: Sun03Icon, text: "Light" },
49 { key: "dark", icon: Moon02Icon, text: "Dark" },
50 { key: "system", icon: ComputerIcon, text: "System" },
51];
52
53const BottomMenu = () => {
54 const containerRef = useRef<HTMLDivElement>(null);
55 const [elementRef] = useMeasure();
56 const [hiddenRef, hiddenBounds] = useMeasure();
57 const [view, setView] = useState<
58 "default" | "home" | "search" | "notifications" | "profile" | "theme"
59 >("default");
60
61 // Track selected theme
62 const [theme, setTheme] = useState<"light" | "dark" | "system">("light");
63 useEffect(() => {
64 const handleClickOutside = (event: MouseEvent) => {
65 if (
66 containerRef.current &&
67 !containerRef.current.contains(event.target as Node)
68 ) {
69 setView("default");
70 }
71 };
72
73 document.addEventListener("mousedown", handleClickOutside);
74 return () => {
75 document.removeEventListener("mousedown", handleClickOutside);
76 };
77 }, []);
78
79 const sharedHover =
80 "group transition-all duration-75 px-3 py-2 text-[15px] text-muted-foreground w-full text-left rounded-[12px] hover:bg-muted/80 hover:text-foreground";
81
82 const content = useMemo(() => {
83 switch (view) {
84 case "default":
85 return null;
86
87 case "home":
88// … truncated

What it pulls in

npm packages

  • motion
  • react-use-measure
  • @hugeicons/core-free-icons
  • @hugeicons/react
  • clsx
  • tailwind-merge

Files it writes

  • registry/default/example/bottom-menu.tsx

Facts

Registry
uselayouts
Type
registry:component
Access
Free
Files written
1
Licence
the repository states none
In the index
at or before 2026-08-09
Last confirmed
yesterday

Go to the source

Docs on uselayouts uselayouts.com iurvish/uselayouts on GitHub Raw registry item This item as JSON

More from uselayouts

All 26 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
3D Book3d-bookuselayoutsComponentsFree3 deps
Animated Collectionanimated-collectionuselayoutsComponentsFree5 deps
Bento Cardbento-carduselayoutsComponentsFree5 deps
BucketbucketuselayoutsComponentsFree5 deps · 2 files
Day Pickerday-pickeruselayoutsComponentsFree5 deps
Delete Buttondelete-buttonuselayoutsComponentsFree5 deps
Discover Buttondiscover-buttonuselayoutsComponentsFree5 deps
Discrete Tabsdiscrete-tabsuselayoutsComponentsFree3 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