This file is the canonical "what already exists" reference for AI coding assistants working in this repo. It is regenerated from the source on every pnpm run build.
If you are an AI assistant about to scaffold a new component: check this file first. The component you are about to build may already exist.
- Source path:
packages/eds-core-react/src/components/next/<Component>/ - Top-level barrel:
packages/eds-core-react/src/components/next/index.ts - Components: 23 • Props documented: 96 • With JSDoc description: 1
| Component | Description | Props | Sub-components | asChild | Status |
|---|---|---|---|---|---|
| Accordion | — | exclusive | Accordion.Item, Accordion.Header, Accordion.Panel | — | active |
| Autocomplete | — | allowCustomValue, clearLabel, defaultInputValue, description, helperMessage, id, inputValue, label, loading, loadingText, noOptionsText, onClear, onCustomValueConfirm, onInputChange, onValueChange, optionsFilter, value | — | — | active |
| Badge | — | emphasis, tone, variant | — | — | active |
| Banner | — | onDismiss, role, tone | Banner.Icon, Banner.Message, Banner.Actions | — | active |
| Button | — | asChild, icon, multiline, round, size, tone, variant | — | ✓ | active |
| Checkbox | — | disabled, helperMessage, indeterminate, indicator, label | — | — | active |
| Chip | — | dropdown, onDelete, selected, tone, variant | — | — | active |
| Dialog | — | onOpenChange, open, scrim | Dialog.Header, Dialog.Title, Dialog.Content, Dialog.Actions | — | active |
| Divider | — | — | — | — | active |
| Field | — | disabled, position | Field.Label, Field.Description, Field.HelperMessage | — | active |
| Icon | Icon component for EDS 2.0 | color, data, size, title | — | — | active |
| Input | — | as, containerClassName, endAdornment, endText, hideErrorIcon, invalid, startAdornment, startText | — | — | active |
| Link | — | asChild, variant | — | ✓ | active |
| Menu | — | — | — | — | active |
| MenuItem | — | active | — | — | active |
| Radio | — | label | — | — | active |
| Search | — | clearLabel, description, helperMessage, id, label, onClear | — | — | active |
| Select | — | description, helperMessage, id, indicator, invalid, label, options, placeholder, readOnly | — | — | active |
| Slot | — | — | — | — | active |
| Switch | — | label | — | — | active |
| TextArea | — | description, helperMessage, id, indicator, invalid, label, labelInfo, maxRows, showCharacterCount | — | — | active |
| TextField | — | description, helperMessage, id, indicator, label, labelInfo | — | — | active |
| Tooltip | — | disabled, placement, title | — | — | active |
- Description — first paragraph of the JSDoc above the component's
forwardRefdeclaration (also tries<Name>Component/<Name>Rootfor compound components), with the<Name>Propstype alias as fallback.—means no JSDoc is present yet; consider adding one. - Props — EDS-defined props only, from the
<Name>Propstype literal. Intersected HTML attributes (HTMLAttributes<...>,InputHTMLAttributes<...>, etc.) and React-conventional props (children,className,style,ref,key) are NOT listed — assume the standard DOM props for the underlying element are available. Known limitation: only inline type literals and intersections are walked — props coming from a referenced local type alias (type FooProps = SharedBase & {...}) or a union type are not expanded. - Sub-components — compound sub-components attached via the
Compound<Name>type pattern (e.g.Field.Label,Banner.Icon). Standalone components exported from the same directory (e.g.MenuItemfrom./Menu) appear as their own rows. - asChild —
✓if the component supports theasChildpolymorphism pattern (seeSlot/README.md). - Status —
activeunless the props type carries an@deprecatedJSDoc tag.
- Components outside
/next(legacypackages/eds-core-react/src/components/) - Other packages (
eds-data-grid-react,eds-lab-react) - Per-prop type signatures (names only)
- Storybook links