bdb-ui-library
Installation
SKILL.md
bdb-ui-library
BDB component and motion-icon library. In BDB projects it is the first source for UI building blocks, before anything is built from scratch. Outside BDB projects the same lookup order applies, using the original sources listed in the bdb-ui-library repository docs.
Lookup order (strict)
- Own items: read
registry.json(items) andllms.txt(install, item table, conventions) from the library repo or the installed package (@hybridlabor-api/ui-motion-library; in the BDB workspace:~/dev/bdb-dev/bdb-ui-library/). If an@bdbitem fits, install it, do not rebuild it. Install:npx shadcn@latest add @bdb/{name}(registry in the consumer'scomponents.json; template:templates/components.json). - Reference registries with a verified endpoint, in
components.jsonorder, only for items whose endpoint was verified (see the source list in the bdb-ui-library repository docs). Install via registry. Currently@magicui(marqueeverified) and@watermelon. Skip@aceternity(401) and@cultui(404) until an endpoint is verified. - Other entries in the source list (
@spaceui,@componentry, Skiper UI, 21st.dev, React Aria, Tremor, Hairline, Kojima; listed in the bdb-ui-library repository docs): documentation and inspiration links only. Never install from them without a verified endpoint, never copy code. - Only then build. Follow the library conventions (DTCG tokens, reduced motion, a11y) so the result can be added as an item later. Use the project's own tokens; never impose BDB colours or look on a project.
Install paths
- shadcn registry:
npx shadcn@latest add @bdb/knob(namespace@bdb) - npm:
npm install @hybridlabor-api/ui-motion-library - Agent-native: read the item JSON directly, e.g.
registry/knob.jsonin the library repo