Bottom Bar

Slim chrome strip pinned to the bottom of a canvas shell as a calm host for activity strips, status pills, and ambient indicators. Install Bottom Bar from the VLLNT UI registry with the shadcn CLI.

Report a bug

Slim chrome strip pinned to the bottom of a canvas shell as a calm host for activity strips, status pills, and ambient indicators. Part of the navigation family in VLLNT UI, it ships as a machine-readable registry entry — copy the source directly into your app with the shadcn CLI and own it, no runtime dependency on a component library.

Preview

Switch between light and dark to inspect the embedded Storybook preview.

Installation

Add Bottom Bar to your project with the shadcn CLI. The source lands in your codebase, ready to adapt:

pnpm dlx shadcn@latest add https://ui.vllnt.ai/r/bottom-bar.json

Source

import type { ReactNode } from "react"; import { cn } from "../../lib/utils"; export type BottomBarProps = React.ComponentPropsWithoutRef<"div"> & { center?: ReactNode; leading?: ReactNode; trailing?: ReactNode; }; const BottomBar = ({ center, className, leading, ref, trailing, ...props }: BottomBarProps & { ref?: React.Ref<HTMLDivElement> }) => ( <div className={cn( "flex min-h-14 items-center gap-3 px-4 py-3 text-sm", className, )} ref={ref} {...props} > <div className="flex min-w-0 flex-1 items-center gap-2">{leading}</div> {center ? ( <div className="flex shrink-0 items-center justify-center gap-2"> {center} </div> ) : null} <div className="flex min-w-0 flex-1 items-center justify-end gap-2"> {trailing} </div> </div> ); BottomBar.displayName = "BottomBar"; export { BottomBar };

Stories

Explore every variant and state in the interactive Storybook:

Preview

Switch between light and dark to inspect the embedded Storybook preview.

Dependencies

  • @vllnt/ui@^0.3.0