ui-core-components
Installation
SKILL.md
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.