Skip to content
Data
Skill

/ui-core-components

Use when writing or editing React/TSX in `openmetadata-ui/src/main/resources/ui/src/` or `openmetadata-ui-core-components/`, before reaching for a raw `<div>` + Tailwind utility classes to build layout (flex rows/columns, grids, bordered panels with header/body/footer,

From plugin
openmetadata
16k26 skills

Claude Code

$ npx -y skills add open-metadata/OpenMetadata --skill ui-core-components --agent claude-code

SKILL.md

ui-core-components.SKILL.md
name: ui-core-components
description: Use when writing or editing React/TSX in `openmetadata-ui/src/main/resources/ui/src/` or `openmetadata-ui-core-components/`, before creating any new UI component (it lists every core component by job), before reaching for a raw `<div>` + Tailwind utility classes to build layout (flex rows/columns, grids, bordered panels with header/body/footer, separators), and before writing any Tailwind color class (`tw:bg-*`, `tw:text-*`, `tw:border-*`) or hex color value. Applies whenever the change adds or restructures a layout container or touches color/dark-mode styling, not to every div.
user-invocable: true
argument-hint: "[component name to look up, e.g. Box, Grid, Card, Divider]"
allowed-tools:
  - Read
  - Grep
  - Glob

UI Core Components

`@openmetadata/ui-core-components` ships layout primitives that replace common `<div className="tw:flex ...">` / `<div className="tw:grid ...">` patterns. 383+ files in `openmetadata-ui` already import from this package. Baseline testing shows agents default to raw `div` + Tailwind for layout unless told these exist — check this table before writing layout markup.

When to use a primitive vs. a raw div

Only **layout container** divs (the ones whose `className` is mostly `flex`/`grid`/`gap`/`items-*`/`justify-*`/border-as-separator) go through a primitive. Leave alone: single non-layout divs, text wrappers, spans, icon wrappers, and anything built from antd/other external library form components — this is not a "replace every div" rule.

Quick reference

| Raw pattern | Use instead | |---|---| | `<div className="tw:flex ...">` (row) | `<Box>` | | `<div className="tw:flex tw:flex-col ...">` | `<Box direction="col">` | | `<div className="tw:grid ...">` with column spans | `<Grid>` + `<Grid.Item span={n} start={n}>` | | Bordered container with a title/actions row, body, footer row | `<Card>` + `<Card.Header title=.. extra=..>` / `<Card.Content>` / `<Card.Footer>` | | `<hr>` or `<div className="tw:h-px tw:bg-...">` separator, optionally with a centered label | `<Divider>` (`orientation`, `label`, `labelAlign`) |

Import from the package root:

import { Box, Card, Divider, Grid } from '@openmetadata/ui-core-components';

Components by job — check here before creating any component

Everything below is exported from `@openmetadata/ui-core-components`; the full list is `openmetadata-ui-core-components/src/main/resources/ui/src/components/index.ts` and each has a story under `src/stories/`. If one fits, use it with its own props. If it almost fits, add the prop in core (own PR) — never a feature-local copy or a wrapper that only forwards props.

**Layout and text**

  • `Box` — flex row/column (`direction`, `align`, `justify`, `gap`, `wrap`); layout only.
  • `Grid` + `Grid.Item` — grid (`gap`/`rowGap`/`colGap`, `span`, `start`); layout only.
  • `Card` (`.Header` `title`/`extra`, `.Content`, `.Footer`) — any bordered or coloured panel; inside a

`bg-surface` panel, modal or drawer use `variant="muted"`/`"tile"` (ADR:2026-11-05-nested-cards-sit-one-step-off-their-panel).

  • `Typography` — all text; `as="h1"…"h6"|"p"` for semantics, `size`, `weight`, `color`, `ellipsis`.
  • `Divider` — separator line. `ScrollShadow` — horizontal scroller with edge shadows.
  • `PageLayout` (`.Header`, `.PageHeader`, `.Content`, side panels) — every page's shell;

`PageLayout.PageHeader` is the page title + breadcrumb + actions. `Breadcrumbs` — trail.

  • `FeaturedIcon` — icon in a coloured circle/square. `Dot` — small status dot.

**Actions**

  • `Button` — every text button and link button (`color`, `size`, `iconLeading`, `isLoading`, `href`).
  • `ButtonUtility` — icon-only action (carries its tooltip). `CloseButton` — the X.
  • `ButtonGroup` + `ButtonGroupItem` — segmented choice between a few options.
  • `Dropdown` (`.Root`, `.Popover`, `.Menu`, `.Item`, `.Section`, `.DotsButton`) — action / ⋯ menus.
  • `ConfirmPopover` — inline "are you sure?" anchored to its trigger.
  • `FileTrigger` — opens the file picker from any pressable.

**Inputs and forms**

  • `Input`, `TextArea`, `NumberInput`, `PasswordInput` — text entry with `label`, `hint`, `tooltip`,

validation; `InputGroup` adds prefix/suffix add-ons; `Label`/`HintText` for custom fields.

  • Choosing: `Select` (one; `Select.ComboBox` when the list needs search), `MultiSelect` (several,

as tags), `Autocomplete` (type-ahead that inserts items), `TagSelect` (options as tags), `TreeSelect` (hierarchy), `NativeSelect` (native `<select>`, e.g. short fixed lists).

  • `Checkbox`, `RadioGroup` + `RadioButton`, `Toggle` (on/off; `label`, `hint`, `isReadOnly`), `Slider`.
  • `DatePicker`, `DateRangePicker` (with presets), `TimePicker`.
  • `Form` (react-aria validation), `HookForm` + `FormField` (react-hook-form), `FormFields`/`Field`

(render `FieldProp` definitions); `FieldDocPanel`/`FieldDocPopover` show a field's docs; `CredentialFileInput`, `FileUploadDropZone` for files.

**Overlays**

  • `Dialog` (`.Header`, `.Content`, `.Footer`; `dividers="scroll"`) inside `Modal`/`ModalOverlay`,

opened by `DialogTrigger` — any modal. `SimpleModal` — title + body + OK/Cancel only.

  • `SlideoutMenu` (`.Header`, `.Content`, `.Footer`) — side drawer.
  • `Popover` — floating panel on a trigger. `HoverCard` — rich preview on hover.
  • `Tooltip` — hover/focus hint on anything (never a raw `title=`).
  • `showToast` / `toast` + one `ToastProvider` — notifications.

**Data display and navigation**

  • `Tabs` (`.List`, `.Item`, `.Panel`). `Table` (`.Header`, `.Head`, `.Body`, `.Row`, `.Cell`); `TableCard`.
  • `Tree` — hierarchy with expand, drag and load-more. `Accordion` — expandable sections.
  • `Pagination*` variants — page navigation. `ProgressSteps` — multi-step flow.
  • `FilterBar` (`.Root`, `.FilterRow`, `.Content`, `.Actions`) + `FilterSelect` — filter toolbars.

**Status and feedback**

  • `Alert` — inline info/warning/error/success banner.
  • `Badge` (`type`, `color`, `size`), `BadgeWithDot`, `BadgeWithIcon`
Read more
@open-metadata
Ships withopenmetadata

The Open Context Layer for Data and AI , OpenMetadata is the open platform for building trusted data context and business semantics for humans, AI assistants, and agents.

Stars on GitHub

Momentum

stars in total
15.8k
Star history of open-metadata/OpenMetadata on GitHub, a chart by star-history.com

Other skills on openmetadata.

code-review

code-review

Use to review code changes with a two-stage process - first checking spec/requirements compliance, then code quality. Works on…

dev-setup

dev-setup

Set up, verify, or repair a local OpenMetadata development environment on macOS or Linux. Installs the toolchain (Java 21, Maven,…

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem02w69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog3w41k
@posthog@posthogInstall Skill

Questions about ui-core-components.

Which coding agents can use ui-core-components?
ui-core-components installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.