OpenMetadata / openmetadata-ui-core-components
CLAUDE.md15k starsChanged 3 months agoApache-2.0View on GitHub
Shared UI component library for OpenMetadata, built on UntitledUI design system patterns with React Aria Components as the accessibility foundation. All public components must be exported from src/components/index.ts. Add new exports there when creating components. All Tailwind classes use the tw: prefix: tw:flex, tw:bg-primary, tw:text-sm, etc. This is mandatory to scope styles and prevent collisions with the main app's existing Less/Ant Design CSS. Theme colors are defined as CSS custom properties in src/styles/globals.css with light and dark mode variant
Trending
Less talk lately.about the whole repository
Who's talking about open-metadata/OpenMetadata
- MunGell/awesome-for-beginners“Add OpenMetadata”GitHub · Sep 13, 2022 · 13 reactions
- @camilleroux.com“OpenMetadata : une plateforme open source unifiée pour la data discovery, l'observabilité et la gouvernance …”Bluesky · May 2, 2026 · 5 likes
- A Hacker News story“OpenMetadata: Open Standard for Metadata”Hacker News · May 24, 2022 · 4 points
- microsoft/vscode-java-debug“Run & Debug Multi-Module Dropwizard Application in VSCode”GitHub · Feb 21, 2024 · 2 reactions
- dataform-co/dataform“Feature Request: Integration with Open Metadata”GitHub · Feb 17, 2023 · 2 reactions
The biggest 5 of 40 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 40
Talked about on GitHub, Bluesky and Hacker News (40 times).
On GitHub · 29
- Sep 13, 2022Add OpenMetadata — MunGell/awesome-for-beginners13 reactions
- Feb 21, 2024Run & Debug Multi-Module Dropwizard Application in VSCode — microsoft/vscode-java-debug2 reactions · 2 comments
- Feb 17, 2023Feature Request: Integration with Open Metadata — dataform-co/dataform2 reactions · 1 comment
- Oct 6, 2026agent-skills.github.open-metadata.openmetadata: 2.0.3-release → 2.0.4-release — sudosubin/agents.nix0 reactions
- Oct 5, 2026chore(deps): bump openmetadata-ingestion from 1.13.3.2 to 2.0.3.0 — GovHub-br/data-application-minc0 reactions
24 more on GitHub
- Oct 3, 2026agent-skills.github.open-metadata.openmetadata: 2.0.2-release → 2.0.3-release — sudosubin/agents.nix0 reactions
- Sep 30, 2026agent-skills.github.open-metadata.openmetadata: init at 2.0.2-release — sudosubin/agents.nix0 reactions
- Sep 15, 2026Docs: Add release notes for 1.13.6 — open-metadata/docs-om0 reactions · 2 comments
- Sep 11, 2026support OpenMetadata — risingwavelabs/risingwave0 reactions
- Sep 3, 2026Docs: Add release notes for 1.13.5 release — open-metadata/docs-om0 reactions
- Aug 24, 2026Sync OpenMetadata Standards with 2.0.0 — open-metadata/OpenMetadataStandards0 reactions
- Aug 24, 2026openmetadata-dependencies: remove obsolete Airflow FAB downgrade — open-metadata/openmetadata-helm-charts0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /custom-connector in the custom-connector-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /api-lineage-cicd in the api-lineage-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /dynamic_csv_importer in the dynamic-csv-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in the sdk-facade-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /custom-graphql in the custom-graphql-python group — open-metadata/openmetadata-demo0 reactions
- Aug 17, 2026chore(deps): bump openmetadata-ingestion from 2.0.0.0rc1 to 2.0.0.0rc2 in /ingestion-automation in the ingestion-automation-python group — open-metadata/openmetadata-demo0 reactions
- Jun 25, 2026[GHSA-5f29-2333-h9c7] OpenMetadata's Server-Side Template Injection (SSTI) in FreeMarker email templates leads to RCE — github/advisory-database0 reactions · 3 comments
- Apr 25, 2026Check trending repo: open-metadata/OpenMetadata — uibm/trending-watcher0 reactions · 2 comments
- Apr 24, 2026Check trending repo: open-metadata/OpenMetadata — uibm/trending-watcher0 reactions · 2 comments
- Apr 23, 2026Check trending repo: open-metadata/OpenMetadata — uibm/trending-watcher0 reactions · 2 comments
- Apr 22, 2026[P2-16] Upstream Hackathon GFI — nishanthatgit/openmetadata-pulse0 reactions
- Dec 22, 2025Redshift Serverless: Support of SYS views to fetch queries — open-metadata/docs-v1-legacy0 reactions · 1 comment
- Jan 8, 2025[Recommendation Needed] Production ready Open lineage application — OpenLineage/OpenLineage0 reactions · 5 comments
- Apr 24, 2024OpenMetadata 身份验证绕过漏洞(CVE-2024-28255) — foyaga/blog-timeline0 reactions
- Feb 6, 2023Make suggest edits button work — open-metadata/docs0 reactions · 1 comment
- Jun 13, 2022Add OpenMetadata — mgramin/awesome-db-tools0 reactions
- Mar 30, 2022Refactor & Clean up unnecessary methods — open-metadata/openmetadata-airflow-apis0 reactions
On Bluesky · 10
- May 2, 2026OpenMetadata : une plateforme open source unifiée pour la data discovery, l'observabilité et la gouvernance des données — avec du lineage… — @camilleroux.com5 likes and reposts · 1 reply
- Apr 24, 2026今日のGitHubトレンド open-metadata/OpenMetadata OpenMetadataは、データの発見、観測、ガバナンスを統合的に管理するメタデータプラットフォームです。… — @dailygithubtrends.bsky.social1 likes and repost
- Apr 23, 2026OpenMetadata : découverte, observabilité et gouvernance des données unifiées — @news.humancoders.com1 likes and repost
- Apr 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 open-metadata / OpenMetadata ⭐ 11,886 (+609) 🗒 TypeScript OpenMetadata is a unified metadata… — @github-trending.bsky.social1 likes and repost · 1 reply
- Apr 12, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 open-metadata / OpenMetadata ⭐ 10,245 (+162) 🗒 TypeScript OpenMetadata is a unified metadata platform… — @github-trending-js.bsky.social1 likes and repost
5 more on Bluesky
- Feb 27, 2026https://github.com/open-metadata/OpenMetadata — @tom-doerr.bsky.social1 likes and repost
- Dec 30, 2024After reading a lot about Data Mesh in the past years, I’ve decided to put it in practice and test different tools during the holidays… — @fabridinapoli.com1 likes and repost
- Nov 22, 2023📦 open-metadata / OpenMetadata ⭐ 3,144 (+91) 🗒 TypeScript Open Standard for Metadata. A Single place to Discover, Collaborate and Get… — @github-trending-js.bsky.social1 likes and repost
- Apr 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 open-metadata / OpenMetadata ⭐ 11,887 (+609) 🗒 TypeScript OpenMetadata is a unified metadata… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Apr 3, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 open-metadata / OpenMetadata ⭐ 9,542 (+299) 🗒 TypeScript OpenMetadata is a unified metadata… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- May 24, 2022OpenMetadata: Open Standard for Metadata4 points
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/vendor/composition-patterns/AGENTS.mdAGENTS.md
- skills/vendor/react-best-practices/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- code-reviewSkill
- connector-auditSkill
- scaffold-connectorSkill
- connector-reviewSkill
- connector-standardsSkill
- dev-setupSkill
- java-checkstyleSkill
- openmetadata-pr-reviewSkill
- openmetadata-workflowSkill
- planningSkill
- playwright-testSkill
- playwright-validationSkill
- pr-checklistSkill
- systematic-debuggingSkill
- tddSkill
- test-enforcementSkill
- test-locallySkill
- ui-checkstyleSkill
- ui-core-componentsSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- web-design-guidelinesSkill
- verificationSkill
- writing-playwright-testsSkill
The file
We split this CLAUDE.md into the rules it gives an agent
11 rules. About 0 are common, 0 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 80
All public components must be exported from src/components/index.ts.
- Very specific: line 86
All Tailwind classes use the tw: prefix: tw:flex, tw:bg-primary, tw:text-sm, etc.
- Very specific: line 99
Use sortCx({}) to define style variant objects (enables Tailwind IntelliSense sorting)
- Very specific: line 100
Use cx() (from tailwind-merge) to merge class names with conflict resolution
- Very specific: line 101
Use isReactComponent() to type-guard icon props that accept both FC and ReactNode
- Very specific: line 174
No string literals in user-facing UI: Every string goes through t().
- Very specific: line 175
No English fallback in
t()calls: Write t('label.close'), not t('label.close', 'Close'). - Very specific: line 209
Create the component file in the appropriate directory (base/ for primitives, application/ for composites, foundations/ for design-token …
- Very specific: line 210
Use tw: prefix on all Tailwind classes
- Very specific: line 211
Use cx() for class merging and sortCx() for style variant maps
- Very specific: line 214
Run yarn build to verify compilation
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
@openmetadata/ui-core-components
Shared UI component library for OpenMetadata, built on UntitledUI design system patterns with React Aria Components as the accessibility foundation.
Package Overview
- Package name:
@openmetadata/ui-core-components - Source root:
src/main/resources/ui/src/ - Build tool: Vite (library mode) with
vite-plugin-dtsfor type declarations - Styling: Tailwind CSS v4 with
tw:prefix to avoid conflicts with the main app's Less/Ant Design styles - Component foundation:
react-aria-components(NOT Ant Design) - Icons:
@untitledui/icons
Development Commands
cd openmetadata-ui-core-components/src/main/resources/ui
yarn build # Production build to dist/
yarn dev # Watch mode build
yarn type-check # TypeScript type checking (tsc --noEmit)
yarn storybook # Launch Storybook on port 6006
yarn clean # Remove dist/Architecture
Export Structure (package.json exports)
| Import path | Description |
@openmetadata/ui-core-components | Main entry - re-exports everything |
@openmetadata/ui-core-components/components | All UI components |
@openmetadata/ui-core-components/colors | Color utilities |
@openmetadata/ui-core-components/utils | cx, sortCx, utilities |
@openmetadata/ui-core-components/styles.css | Compiled CSS (must be imported by consumers) |
Source Directory Layout
src/
├── components/
│ ├── base/ # Primitive building blocks
│ │ ├── avatar/ # Avatar, AvatarLabelGroup, AvatarProfilePhoto
│ │ ├── badges/ # Badge, BadgeGroup
│ │ ├── buttons/ # Button, CloseButton, ButtonUtility, SocialButton
│ │ ├── button-group/ # ButtonGroup
│ │ ├── checkbox/ # Checkbox
│ │ ├── dropdown/ # Dropdown
│ │ ├── form/ # Form, HookForm
│ │ ├── input/ # Input, InputGroup, Label, HintText
│ │ ├── select/ # Select, MultiSelect, Combobox, Popover
│ │ ├── slider/ # Slider
│ │ ├── tags/ # Tags
│ │ ├── textarea/ # Textarea
│ │ ├── toggle/ # Toggle
│ │ └── tooltip/ # Tooltip
│ ├── application/ # Composite/application-level components
│ │ ├── date-picker/ # DatePicker, DateRangePicker, Calendar
│ │ ├── modals/ # ModalOverlay, Modal, Dialog, DeleteModal
│ │ ├── pagination/ # Pagination
│ │ ├── slideout-menus/ # SlideoutMenu
│ │ ├── table/ # Table
│ │ └── tabs/ # Tabs
│ └── foundations/ # Design tokens as components
│ ├── dot-icon.tsx
│ ├── featured-icon.tsx # FeaturedIcon (light, outline themes)
│ └── payment-icons/
├── styles/
│ ├── globals.css # Shared Tailwind-facing CSS entry (tokens, typography, shared styles)
│ └── typography.css # Typography prose rules
├── colors/ # Color generation utilities
├── utils/ # cx, sortCx, isReactComponent
├── types/ # Shared TypeScript types
├── constants/ # Button constants, etc.
└── hooks/ # Shared hooksComponent Export Registration
All public components must be exported from src/components/index.ts. Add new exports there when creating components.
Key Conventions
Tailwind CSS Prefix
All Tailwind classes use the tw: prefix: tw:flex, tw:bg-primary, tw:text-sm, etc. This is mandatory to scope styles and prevent collisions with the main app's existing Less/Ant Design CSS.
CSS Custom Properties (Design Tokens)
Theme colors are defined as CSS custom properties in src/styles/globals.css with light and dark mode variants. Components reference these semantic tokens:
- Backgrounds:
bg-primary,bg-secondary,bg-error-secondary,bg-error-solid - Text:
text-primary,text-secondary,text-tertiary,text-fg-error-primary - Featured icon:
text-featured-icon-light-fg-{brand,error,gray,success,warning} - Utility colors:
border-utility-{brand,error,gray,success,warning}-{50-900}
Style Patterns
- Use
sortCx({})to define style variant objects (enables Tailwind IntelliSense sorting) - Use
cx()(fromtailwind-merge) to merge class names with conflict resolution - Use
isReactComponent()to type-guard icon props that accept bothFCandReactNode
Borders: never use ring-* — use border or outline
tw:ring-* compiles to a box-shadow, and WebKit does not pixel-snap box-shadows — a
ring used as a border thins out and can vanish entirely in Safari at non-100% zoom. border
and outline are snapped and never degrade. The library was migrated off rings; do not
reintroduce them.
| Situation | Use |
| Edge may occupy layout space (static container) | tw:border tw:border-<token> |
Edge must be layout-neutral and the element's outline is free | tw:outline-1 tw:-outline-offset-1 tw:outline-<token> |
Element's outline is already the focus ring (any focusable control) | borderAfter from @/utils/tailwindClasses |
border consumes layout, so on content-sized controls it adds 2px of height and makes them
grow on focus (1px → 2px). That is why controls use outline.
import { borderAfter } from '@/utils/tailwindClasses';
// host needs `tw:relative`; colour via `tw:after:outline-<token>`
cx('tw:relative', borderAfter, 'tw:after:outline-primary',
isDisabled && 'tw:disabled:after:outline-disabled_subtle')borderAfter2 is the 2px variant. Note ::before is already used by button.tsx and
social-button.tsx for their inner gradient — hence ::after.
Converting a ring: ring-inset → -outline-offset-N; no ring-inset → offset 0 (a
non-inset ring draws outward). Getting this wrong shifts the edge by 1px.
Gotchas:
tw:outline-hiddenerases an outline border — remove it from any element whose border is an outline. Unlayered LESS (outline: none) beats Tailwind utilities and will kill it.tw:transition-shadowwon't animate an outline — usetw:transition-[outline-color,outline-width]. Plaintw:transitioncoversoutline-colorbut notoutline-width.- Keep
tw:shadow-*— a real drop shadow, not the ring. - Consumers overriding a border must match where it's drawn:
::afterfor Button/ButtonUtility/Tab, the element for Input/Select/Badge/Card.
There are no remaining ring-* usages and the ESLint rule has no allow-list. Even
ring-offset-* halos convert: the offset gap uses --tw-ring-offset-color (default #fff),
so when the ring colour is also white the two merge into one (ring + offset)px band —
ring-2 ring-white ring-offset-2 is exactly outline-4 outline-white. Where the colours
differ, outline-offset-N matches the geometry with a transparent gap. Consumer focus rings
on Button are usually pure duplicates of its built-in
focus-visible:outline-2 focus-visible:outline-offset-2 — delete rather than convert.
Full rationale, measurements, and the anti-pattern table:
openmetadata-ui/src/main/resources/ui/docs/colors.md §2.3.1.
Button Color Variants
The Button component supports these color values:
primary,secondary,tertiary,link-gray,link-colorprimary-destructive,secondary-destructive,tertiary-destructive,link-destructive
i18n — core namespace
The library owns its own translations. Everything lives under a flat
label.* bucket inside the core i18next namespace. Use the wrapper hook:
import { useCoreTranslation } from '@/i18n/useCoreTranslation';
const { t } = useCoreTranslation();
<button aria-label={t('label.close')}>×</button>;Rules (enforced by yarn check-i18n-all — CI hard-fail, precommit hook):
- No string literals in user-facing UI. Every string goes through
t(). - No English fallback in
t()calls. Writet('label.close'), nott('label.close', 'Close'). The library eagerly loads all 20 language bundles at boot, so a missing key is a real bug — the raw key rendering is the signal. - Keys are flat under
label.*(withmessage.*for messages). No per-component nesting. - After adding a key to
src/locale/languages/en-us.json, runyarn i18nto sync the 19 sibling files with placeholders, then replace every placeholder with a real translation. Gate 4 (check-translations-not-english) fails if any non-en-us value is identical to its en-us source. Legitimate loanwords (French "Page", Dutch "Records") go inscripts/translation-allowlist.jsonper language.
Dark Mode
Dark mode uses a custom variant: @custom-variant dark (&:where(.dark-mode, .dark-mode *)). Toggle by adding .dark-mode class to a parent element.
Externalized Dependencies (Vite rollup)
These are externalized in the build and must be provided by the consuming app:
react,react-dom,react/jsx-runtime@untitledui/iconsreact-aria,react-aria-components,react-statelyreact-hook-formtailwind-mergeinput-otp@react-aria/utils,@react-stately/utils,@react-types/shared@internationalized/datetailwindcss-react-aria-components
Adding New Components
- Create the component file in the appropriate directory (
base/for primitives,application/for composites,foundations/for design-token components) - Use
tw:prefix on all Tailwind classes - Use
cx()for class merging andsortCx()for style variant maps - Build on
react-aria-componentsfor accessibility - Export from
src/components/index.ts - Run
yarn buildto verify compilation
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

