Agent skill

Base UI React

by secondsky in secondsky/claude-skills

MUI Base UI unstyled React components with Floating UI. An agent skill from secondsky/claude-skills.

MITAuto-check passedFrontend & Design

Install Base UI React

skills CLI
$ npx skills add secondsky/claude-skills --skill base-ui-react -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install secondsky/claude-skills base-ui-react --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/base-ui-react/skills/base-ui-react .claude/skills/base-ui-react && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
base-ui-react
GitHub stars
227
Token cost
~1.9k tokens
SKILL.md length
426 words
Files
15 (incl. scripts, references, assets)
Skills in repo
169
Repo updated
First seen
Licence
MIT

At a glance

MUI Base UI unstyled React components with Floating UI. An agent skill from secondsky/claude-skills.

  • Works in 10 steps: Use Portal for popups (Dialog, Select,… → Use Positioner for floating elements → Add Backdrop for modal dialogs → …
  • Accessible components
  • SKILL.md covers What Is Base UI?, Quick Start, Core Components and Critical Rules, plus 6 more sections
  • Runs Shell scripts from its folder; calls bun

What it does

Base UI React is an agent skill from secondsky/claude-skills. 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.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including scripts, reference files and assets (for example `references/example-reference.md`, `references/migration-from-radix.md` and `references/setup-guide.md`).

It sits in Frontend & Design, covering Design systems, React components and Positioning and messaging. It works with React and Radix UI. The repository describes itself as: Production-ready skills for Claude Code CLI - Cloudflare, React, Tailwind v4, and AI integrations. The licence is MIT.

When your agent uses it

  • Accessible components
  • Radix UI migration
  • Render props API
  • Encountering positioning

Example prompts

  • “/base-ui-react”

Requirements

  • A Bash shell

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. Use Portal for popups (Dialog, Select, Popover)
  2. Use Positioner for floating elements
  3. Add Backdrop for modal dialogs
  4. Style with Tailwind (or any CSS)
  5. Use render props (not asChild like Radix)
  6. Test accessibility (ARIA built-in)
  7. Handle Portal edge cases (SSR, hydration)
  8. Check beta docs for breaking changes
  9. Use TypeScript for better DX
  10. Test on target browsers

What it can do on your machine

Read from SKILL.md and the folder at commit 8837836. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bun

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • base-ui.mui.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Base UI React loads about 1.9k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 426 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from secondsky/claude-skills at commit 8837836, republished under its MIT licence (© secondsky). 426 words, ~1,864 tokens.

Download SKILL.mdSave it as .claude/skills/base-ui-react/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from GitHub.
name
base-ui-react
description
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.
license
MIT
metadata.version
2.0.0
metadata.last_verified
2026-08-03
metadata.production_tested
true
metadata.token_savings
~62%
metadata.errors_prevented
10
metadata.templates_included
7
metadata.references_included
3
metadata.keywords
base-ui, @base-ui-components/react, mui base ui, unstyled components, accessible components, render props, radix alternative, radix migration, floating-ui…

Base UI React

Status: Release Candidate (v1.0.0-rc.0) ⚠️ | Last Verified: 2026-08-03


What Is Base UI?

MUI's unstyled, accessible React component library:

  • 27+ accessible components
  • Render props pattern
  • Full styling control
  • Floating UI integration
  • Alternative to Radix UI

Release Candidate status: v1.0.0-rc.0 (stable v1.0 GA expected soon — still pre-GA, API may change)


Quick Start

Install
bash
bun add @base-ui-components/react
Basic Dialog
typescript
import * as Dialog from '@base-ui-components/react/dialog';

export function MyDialog() {
  return (
    <Dialog.Root>
      <Dialog.Trigger>Open</Dialog.Trigger>
      <Dialog.Portal>
        <Dialog.Backdrop />
        <Dialog.Popup>
          <Dialog.Title>Title</Dialog.Title>
          <Dialog.Description>Content</Dialog.Description>
          <Dialog.Close>Close</Dialog.Close>
        </Dialog.Popup>
      </Dialog.Portal>
    </Dialog.Root>
  );
}
Basic Select
typescript
import * as Select from '@base-ui-components/react/select';

<Select.Root>
  <Select.Trigger>
    <Select.Value placeholder="Select" />
  </Select.Trigger>
  <Select.Portal>
    <Select.Positioner>
      <Select.Popup>
        <Select.Option value="1">Option 1</Select.Option>
        <Select.Option value="2">Option 2</Select.Option>
      </Select.Popup>
    </Select.Positioner>
  </Select.Portal>
</Select.Root>

Load references/setup-guide.md for complete examples.


Core Components

Available (27+):

  • Dialog
  • Select
  • Popover
  • Tooltip
  • Accordion
  • NumberField
  • Checkbox
  • Switch
  • Tabs
  • Slider
  • And more...

Critical Rules

Always Do ✅
  1. Use Portal for popups (Dialog, Select, Popover)
  2. Use Positioner for floating elements
  3. Add Backdrop for modal dialogs
  4. Style with Tailwind (or any CSS)
  5. Use render props (not asChild like Radix)
  6. Test accessibility (ARIA built-in)
  7. Handle Portal edge cases (SSR, hydration)
  8. Check beta docs for breaking changes
  9. Use TypeScript for better DX
  10. Test on target browsers
Never Do ❌
  1. Never use asChild (use render function instead)
  2. Never skip Portal for popups (positioning breaks)
  3. Never skip Positioner (Floating UI won't work)
  4. Never assume API stability (beta software)
  5. Never skip accessibility testing
  6. Never use with React <19 (requires React 19+)
  7. Never skip Backdrop for modals
  8. Never hardcode z-index (use Portal)
  9. Never skip SSR testing (hydration issues)
  10. Never assume Radix compatibility (different API)

With Tailwind

typescript
<Dialog.Popup className="rounded-lg bg-white p-6 shadow-xl dark:bg-gray-800">
  <Dialog.Title className="text-xl font-bold text-gray-900 dark:text-white">
    Dialog Title
  </Dialog.Title>
  <Dialog.Description className="mt-2 text-gray-600 dark:text-gray-300">
    Dialog content here
  </Dialog.Description>
  <Dialog.Close className="mt-4 rounded bg-blue-500 px-4 py-2 text-white hover:bg-blue-600">
    Close
  </Dialog.Close>
</Dialog.Popup>

Common Use Cases

Use Case 1: Modal Dialog
typescript
<Dialog.Root>
  <Dialog.Trigger className="btn">Open Modal</Dialog.Trigger>
  <Dialog.Portal>
    <Dialog.Backdrop className="fixed inset-0 bg-black/50" />
    <Dialog.Popup className="fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-lg bg-white p-6">
      <Dialog.Title>Confirm Action</Dialog.Title>
      <Dialog.Description>Are you sure?</Dialog.Description>
      <Dialog.Close>Cancel</Dialog.Close>
    </Dialog.Popup>
  </Dialog.Portal>
</Dialog.Root>
Use Case 2: Dropdown Select
typescript
<Select.Root>
  <Select.Trigger className="flex items-center gap-2 rounded border px-4 py-2">
    <Select.Value placeholder="Select option" />
  </Select.Trigger>
  <Select.Portal>
    <Select.Positioner className="z-50">
      <Select.Popup className="rounded border bg-white shadow-lg">
        <Select.Option value="1" className="px-4 py-2 hover:bg-gray-100">
          Option 1
        </Select.Option>
        <Select.Option value="2" className="px-4 py-2 hover:bg-gray-100">
          Option 2
        </Select.Option>
      </Select.Popup>
    </Select.Positioner>
  </Select.Portal>
</Select.Root>
Use Case 3: Tooltip
typescript
import * as Tooltip from '@base-ui-components/react/tooltip';

<Tooltip.Root>
  <Tooltip.Trigger>Hover me</Tooltip.Trigger>
  <Tooltip.Portal>
    <Tooltip.Positioner>
      <Tooltip.Popup className="rounded bg-gray-900 px-2 py-1 text-sm text-white">
        Tooltip text
      </Tooltip.Popup>
    </Tooltip.Positioner>
  </Tooltip.Portal>
</Tooltip.Root>

Show full SKILL.md (187 more words)Show less

Beta Considerations

Stable for production:

  • Dialog
  • Popover
  • Tooltip
  • Select
  • Accordion

Use with caution:

  • NumberField (API may change)
  • Complex form components

Migration path:

  • v1.0 stable GA expected soon (currently v1.0.0-rc.0)
  • Breaking changes will be documented
  • Codemods likely provided

vs Radix UI

FeatureBase UIRadix UI
PatternRender propsasChild
PositioningFloating UI built-inManual
BetaYesStable
Tree-shakingBetterGood
Bundle sizeSmallerLarger

When to use Base UI:

  • Prefer render props
  • Need built-in positioning
  • Want smaller bundle
  • Okay with beta

When to use Radix:

  • Need stability
  • Prefer asChild pattern
  • Established ecosystem

Resources

References (references/):

  • example-reference.md - Detailed component examples and patterns
  • migration-from-radix.md - Complete migration guide from Radix UI (includes render prop pattern explanation)
  • setup-guide.md - Installation and setup walkthrough

Templates (templates/):

  • Accordion.tsx - Accordion component with render props
  • Dialog.tsx - Modal dialog example
  • NumberField.tsx - Number input with validation
  • Popover.tsx - Popover with positioning
  • Select.tsx - Select dropdown
  • Tooltip.tsx - Tooltip component
  • migration-example.tsx - Radix to Base UI migration example

Official Documentation


Questions? Issues?

  1. Check references/setup-guide.md for setup
  2. Review beta status warnings
  3. See official docs for latest updates
  4. Consider Radix if need stability

© secondsky, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 14 other files (scripts, references, assets) in plugins/base-ui-react/skills/base-ui-react of secondsky/claude-skills.

  • SKILL.md
  • assets/example-template.txt
  • references/example-reference.md
  • references/migration-from-radix.md
  • references/setup-guide.md
  • scripts/check-base-ui-version.sh
  • scripts/example-script.sh
  • scripts/migrate-radix-component.sh
  • templates/Accordion.tsx
  • templates/Dialog.tsx
  • templates/NumberField.tsx
  • templates/Popover.tsx
  • templates/Select.tsx
  • templates/Tooltip.tsx
  • templates/migration-example.tsx

Open the folder on GitHubat commit 8837836

Compare with similar skills

Base UI React next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Base UI React compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Base UI React this skillsecondsky/claude-skills227—~1.9kAutomated safety check: PassMIT
Connect Component To Figmadequelabs/cauldron129—~2kAutomated safety check: PassMPL-2.0
UI Design Systemtry-works/role-model117—~5kAutomated safety check: PassMIT
Shadcn Tailwind UILiarMTTT/TavernWeave148—~1.7kAutomated safety check: PassCustom licence
Shift UI Componentsshift-editor/shift343—~2.5kAutomated safety check: PassApache-2.0
Radix UI Design Systemaiskillstore/marketplace4305 repos~5.4kAutomated safety check: PassNone

Similar skills

  • Connect Component To Figma

    dequelabs/cauldron

    Add a Figma Code Connect (.figma.tsx) file for a Cauldron React component.

    129 GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • UI Design System

    try-works/role-model

    React UI component systems with TailwindCSS + Radix + shadcn/ui.

    117 GitHub stars~5k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Shadcn Tailwind UI

    LiarMTTT/TavernWeave

    Build, restyle, or review accessible React interfaces that use shadcn/ui, Radix UI primitives, and Tailwind CSS.

    148 GitHub stars~1.7k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Shift UI Components

    shift-editor/shift

    Guides design, implementation and review of Shift interface work: shared Base UI wrappers, Tailwind v4 theme tokens, Figma matching and accessible interaction states.

    343 GitHub stars~2.5k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Radix UI Design System

    aiskillstore/marketplace

    Build accessible design systems with Radix UI primitives. An agent skill from aiskillstore/marketplace.

    430 GitHub starsUsed in 5 repos~5.4k tokens
    Frontend & DesignAuto-check passed
  • Shadcn

    pproenca/dot-skills

    shadcn/ui component library best practices and patterns (formerly shadcn-ui).

    214 GitHub stars~2.5k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from secondsky/claude-skills

All 169 skills in this repo
  • Tanstack AI

    secondsky/claude-skills

    TanStack AI (alpha) provider-agnostic type-safe chat with streaming for OpenAI, Anthropic, Gemini, Ollama.

    227 GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check: notes
  • Auto Animate

    secondsky/claude-skills

    AutoAnimate (@formkit/auto-animate) zero-config animations for React.

    227 GitHub stars~2.9k tokensUpdated 9 days ago
    Auto-check passed
  • Cloudflare Images

    secondsky/claude-skills

    This skill should be used when the user asks to "upload images to Cloudflare", "implement direct creator upload", "configure image transformations", "optimize WebP/AVIF", "create image variants"…

    227 GitHub stars~3.6k tokensUpdated 9 days ago
    Auto-check: notes
  • Cloudflare Nextjs

    secondsky/claude-skills

    Deploy Next.js to Cloudflare Workers via the OpenNext adapter (@opennextjs/cloudflare).

    227 GitHub stars~5.3k tokensUpdated 9 days ago
    Auto-check: notes
  • Cloudflare Sandbox

    secondsky/claude-skills

    Cloudflare Sandboxes SDK for secure code execution in Linux containers at edge.

    227 GitHub stars~4.5k tokensUpdated 9 days ago
    Auto-check passed
  • GitHub Project Automation

    secondsky/claude-skills

    GitHub repository automation (CI/CD, issue templates, Dependabot, CodeQL).

    227 GitHub stars~4k tokensUpdated 9 days ago
    Auto-check: notes

Works with

Questions about Base UI React

What does Base UI React do?

MUI Base UI unstyled React components with Floating UI. An agent skill from secondsky/claude-skills. Base UI React is an agent skill from secondsky/claude-skills. MUI Base UI unstyled React components with Floating UI.

When should I use Base UI React?

Base UI React fits situations like: accessible components; radix UI migration; render props API; encountering positioning.

How do I install Base UI React in Claude Code?

Run `npx skills add secondsky/claude-skills --skill base-ui-react -a claude-code`. Or copy the skill folder (plugins/base-ui-react/skills/base-ui-react in secondsky/claude-skills) into .claude/skills/base-ui-react in your project. Claude Code loads it when a task matches its description.

How do I install Base UI React in Codex?

Run `npx skills add secondsky/claude-skills --skill base-ui-react -a codex`. Or copy the skill folder (plugins/base-ui-react/skills/base-ui-react in secondsky/claude-skills) into .agents/skills/base-ui-react in your project. Codex loads it when a task matches its description.

Can I use Base UI React in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secondsky/claude-skills --skill base-ui-react -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/base-ui-react, .gemini/skills/base-ui-react, .github/skills/base-ui-react and .opencode/skills/base-ui-react in your project.

What does Base UI React need to run?

Going by SKILL.md and its folder, Base UI React needs a shell for the scripts in its folder and the command-line tools its instructions call (bun). Our summary lists: A Bash shell.

Does Base UI React access the network?

SKILL.md names 1 domain. As links in the text: base-ui.mui.com. This is read from the text; nothing was executed.

Is Base UI React safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Base UI React use?

Base UI React is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Base UI React use?

About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.

What are the alternatives to Base UI React?

Skills that share tags, products or a category with Base UI React: Connect Component To Figma (dequelabs/cauldron, 129 stars), UI Design System (try-works/role-model, 117 stars), Shadcn Tailwind UI (LiarMTTT/TavernWeave, 148 stars) and Shift UI Components (shift-editor/shift, 343 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Base UI React?

secondsky (a GitHub user) maintains it in secondsky/claude-skills, which has 227 GitHub stars. The repository holds 169 skills in this directory. The repository was last updated on September 28, 2026.

Source: secondsky/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.