Wlad Meixner df83fbddb6 fix(base-ui): keep menu labels inside a Menu.Group
Menu.GroupLabel requires a Menu.Group ancestor, which radix's
DropdownMenu.Label did not. Four labels were orphaned and threw
"MenuGroupContext is missing" as soon as those menus opened.

"Workspaces" moves into the group it labels; the standalone headings
("My account", "lena@foomo.org", "Toggle columns") each get their own
group so the visual order is unchanged.

The first QA pass missed this because it opened only the Notifications
menu, which has no label. Replaced with a sweep over every overlay
trigger in every story and tab panel at two viewports: 203 layers, 0
errors.
2026-09-07 11:50:34 +02:00
2025-07-31 10:46:00 +02:00
2025-11-11 13:32:29 +01:00
2025-07-30 12:25:53 +02:00
2025-11-11 13:45:57 +01:00
2025-07-30 17:36:55 +02:00
2025-07-30 14:25:52 +02:00

@foomo/ui

A modern React component library built with Tailwind CSS v4, TypeScript, and Radix UI primitives.

Features

  • 🎨 Built with Tailwind CSS v4
  • 🔧 Full TypeScript support
  • 📦 Tree-shakeable - import only what you need
  • 🎯 No barrel exports - better performance
  • 🌗 Dark mode support
  • ♿ Accessible components via Radix UI

Installation

npm install @foomo/ui

Usage

Import the CSS file once in your app:

// In your app's entry file (e.g., App.tsx or main.tsx)
import "@foomo/ui/ui.css";

// use one of the prefefined shadcn themes
// if you want to bring your own theme do not import this
import "@foomo/ui/themes/neutral.css";

If you want to bring your own theme you can simply define the theme variables yourself as is normally done in a globals.css. For more information on this check out the shadcn theming guide

Import components individually:

import { Button } from "@foomo/ui/components/button";
import { cn } from "@foomo/ui/lib/utils";

function App() {
  return (
    <div>
      <Button variant="outline" size="lg">
        Get Started
      </Button>

      <Button variant="destructive" className={cn("mt-4")}>
        Delete Item
      </Button>
    </div>
  );
}

Development

# Install dependencies
bun install

# Start Storybook
bun run storybook

# Build the library
bun run build
S
Description
No description provided
Readme MIT
991 KiB
Languages
TypeScript 96.7%
CSS 2.4%
JavaScript 0.7%
MDX 0.1%