New Component banner
equinor equinor

New Component

Development community

Description

# Create New EDS 2.0 Component Create a new EDS 2.0 component named **$ARGUMENTS** in `packages/eds-core-react/src/components/next/`. > **Canonical reference:** [`documentation/agent-instructions/BUILDING_EDS_2_COMPONENTS.md`](../../documentation/agent-instructions/BUILDING_EDS_2_COMPONENTS.md) — foundation data-attributes, critical patterns, file templates, common mistakes, advanced patterns, and the anti-patterns checklist. Project-wide conventions live in [`AGENTS.md`](../../AGENTS.md). @.

Installation

Installs to ~/.claude/commands/equinor-design-system-new-component.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/equinor/design-system/HEAD/.claude/commands/new-component.md -o ~/.claude/commands/equinor-design-system-new-component.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository