スキル一覧に戻る
yuheitomi

setup-shadcn

by yuheitomi

Template for React Router v7 (Cloudflare)

0🍴 0📅 2026年1月4日
GitHubで見るManusで実行

SKILL.md


name: setup-shadcn description: Set up Shadcn/UI based on Base UI headless components

Set up Shadcn/UI with Base UI

This skill sets up Shadcn/UI using Base UI headless components instead of the default Radix UI primitives.

Why Base UI?

Base UI (from MUI) provides unstyled, accessible React components similar to Radix UI. This approach gives you Shadcn's styling conventions while using Base UI's headless primitives.

Setup Steps

1. Initialize Shadcn/UI

Run the default init command to create basic configuration files:

pnpx shadcn@latest init

Let the user to choose preferred base color (neutral, gray, zinc, stone, slate)

2. Install Base UI

Install the Base UI package. Ensure to use @base-ui/react (not @base-ui-components/react)

pnpm add @base-ui/react

3. Remove Radix UI Dependencies

After initialization, remove any Radix UI packages that were installed:

pnpm remove @radix-ui/react-*

Or selectively remove only the primitives you'll replace with Base UI equivalents.

4. Update components.json

Modify components.json to reflect the Base UI approach:

{
  "$schema": "https://ui.shadcn.com/schema.json",
  "style": "base-{vega|nova|maia|lyra|mira}",
  // ...
  "iconLibrary": "lucide"
}

Ask the user which style to pick from the available Base UI styles.

Notes

  • Not all Radix primitives have direct Base UI equivalents - check Base UI documentation for available components
  • Base UI components may have slightly different APIs; adjust component implementations accordingly
  • Refer to Base UI documentation for component usage details

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です