Skip to content

secondsky/claude-skills / plugins/base-ui-react/skills/base-ui-react

base-ui-react

Verified

MUI Base UI unstyled React components with Floating UI. Use for accessible components, Radix UI migration, render props API, or encountering positioning, popup, v1.0 rc / pre-GA issues.

scripts/check-base-ui-version.sh

View on GitHub
#!/bin/bash
# Check Base UI version and compare with latest

set -e

echo "πŸ” Checking Base UI version..."
echo ""

# Check if in a Node.js project
if [ ! -f "package.json" ]; then
  echo "❌ Error: package.json not found. Run this in a Node.js project directory."
  exit 1
fi

# Check if Base UI is installed
if ! grep -q "@base-ui-components/react" package.json; then
  echo "⚠️  Base UI not installed in this project."
  echo ""
  echo "To install:"
  echo "  pnpm add @base-ui-components/react"
  exit 0
fi

# Get installed version
INSTALLED_VERSION=$(grep "@base-ui-components/react" package.json | sed 's/.*"@base-ui-components\/react": "\^*\([^"]*\)".*/\1/')

echo "πŸ“¦ Installed version: @base-ui-components/react@$INSTALLED_VERSION"
echo ""

# Check npm for latest version
echo "🌐 Checking npm for latest version..."
LATEST_VERSION=$(npm view @base-ui-components/react version 2>/dev/null || echo "unknown")

if [ "$LATEST_VERSION" = "unknown" ]; then
  echo "⚠️  Could not fetch latest version from npm"
  exit 1
fi

echo "πŸ“¦ Latest version:    @base-ui-components/react@$LATEST_VERSION"
echo ""

# Compare versions
if [ "$INSTALLED_VERSION" = "$LATEST_VERSION" ]; then
  echo "βœ… You are on the latest version!"
else
  echo "⚠️  Update available: $INSTALLED_VERSION β†’ $LATEST_VERSION"
  echo ""
  echo "To update:"
  echo "  pnpm add @base-ui-components/react@latest"
  echo ""
  echo "⚠️  Beta Warning:"
  echo "  Base UI is currently in beta. Check release notes before updating:"
  echo "  https://github.com/mui/base-ui/releases"
fi

echo ""
echo "πŸ“š Official Docs: https://base-ui.com"
echo "πŸ“ GitHub: https://github.com/mui/base-ui"
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 321kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 197kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 197kUpdated Claude CodeCodexVerifiedInstall