Skip to content
Agentmart
Submit a tool

shadcn-ui-component

Create or modify shadcn/ui components in the MultimateAi codebase (base-nova style, @base-ui/react primitives, Tailwind v4).

Skill by NarihitoM

IndexedMIT★ 9
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/narihitom-shadcn-ui-component

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create or modify shadcn/ui components in the MultimateAi codebase (base-nova style, @base-ui/react primitives, Tailwind v4). Use when: building a new UI primitive, adding variants to existing components, or fixing styling inconsistencies.

Use cases: design, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/shadcn-ui-component

What's inside

Skill name
shadcn-ui-component
Description
Create or modify shadcn/ui components in the MultimateAi codebase (base-nova style, @base-ui/react primitives, Tailwind v4). Use when: building a new UI primitive, adding variants to existing components, or fixing styling inconsistencies.
License
MIT
Instructions
158 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# shadcn/ui Component Creation

## When to Use

- Adding a new reusable UI component to `src/shared/components/ui/`
- Extending an existing component with new variants
- Understanding the cva + cn + Tailwind v4 pattern

## Technology Stack

| Tool                       | Usage                                     |
| -------------------------- | ----------------------------------------- |
| `@base-ui/react`           | Primitives (Button, Dialog, Select, etc.) |
| `class-variance-authority` | Component variant definitions             |
| `clsx` + `tailwind-merge`  | Class merging via `cn()` helper           |
| Tailwind CSS v4            | Utility-first styling                     |
| `lucide-react`             | Icons                                     |

## cn() Utility

Defined in `src/shared/lib/utils.ts`:

```typescript
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";

export function cn(...inputs: ClassValue[]) {
  return twMerge(clsx(inputs));
}
```

Always use `cn()` for combining class names — it handles conflicts and conditional classes.

## Component Template

```typescript
import { Component as ComponentPrimitive } from "@base-ui/react/component"
import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "../../lib/utils"

const componentVariants = cva(
  // Base styles — always present
  "inline-flex items-center rounded-lg text-sm font-medium transition-all outline-none",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground",
        secondary: "bg-secondary text-secondary-foreground",
        ghost: "hover:bg-muted hover:text-foreground",
      },
      size: {
        default: "h-8 px-3",
        sm: "h-7 px-2 text-xs",
        lg: "h-9 px-4",
      },
    },
    defaultVariants: {
      variant: "default",
      size: "default",
    },
  }
)

function Component({
  className,
  variant,
  size,
  ...props
}: ComponentPrimitive.Props & VariantProps<typeof componentVariants>) {
  return (
    <ComponentPrimitive
      data-slot="component"
      className={cn(componentVariants({ variant, size, className }))}
      {...props}
    />
  )
}

export { Component, componentVariants }
```

## Tailwind v4 Specifics

This codebase uses **Tailwind CSS v4** (not v3). Key differences:

### Theme Variables

Defined in `src/index.css` using `@theme inline`:

```css
@theme inline {
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --radius-sm: calc(var(--radius) * 0.6);
}
```

Refer to theme variables as `bg-primary`, `text-primary-foreground`, `rounded-sm`.

### Dark Mode

```css
@custom-variant dark (&:is(.dark *));
```

Use `.dark` class-based dark mode. Components don't need `dark:` prefixes for CSS variables — they switch automatically. Use `dark:` only for hardcoded values like `dark:border-white/10`.

### Focus Ring Pattern

```typescript
"focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50";
```

### Disabled State

```typescript
"disabled:pointer-events-none disabled:opacity-50";
```

From NarihitoM/MultimateAi, MIT.

Signals

Stars
9
Forks
1
Open issues
0
Last commit (this folder)
Jul 23, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from NarihitoM

Cite this page

shadcn-ui-component skill. Agent Mart. https://agentmart.dev/skills/narihitom-shadcn-ui-component (last updated 2026-10-24)