ShtukbaseStandard

The keer-ui component library

keer-ui · versión 0.1.1
Diseño2 normas2 comprobaciones

56 React + Tailwind components from an earlier product in the keer-style style; the code is placed in the project, as with shadcn, and the project sets the folder itself.

Sobre el paquete

Este texto aún no está traducido. Debajo está el original en inglés.

Components from an earlier product that suit any project on React and Tailwind: 35 primitives and 21 composites. The look is the tokens of the keer-style package.

As with shadcn: sources are copied into the project, not installed as a dependency. The place action puts them in the folder from the target: field of the page /design/keer-ui.md (by default src/ui) and runs by itself after install and update. Files the project edited are not touched by an update.

What it puts in the project:

  • /design/keer-ui.md: what is inside, settings (target:, tokens:), what the project needs;
  • /design/keer-ui/catalog.html: a catalog: components and their states, opened with a double click;
  • the library code in the target folder;
  • norms KU-R01 (the library is intact) and KU-R02 (a component has a states file).

The package does not install dependencies (react, @base-ui/react, class-variance-authority, cn, lucide-react, sonner, next-themes, tailwindcss 4, tw-animate-css, shadcn); they are requirements for the project, and the list is on the page.

Boundary: An earlier product's domain components (leads, tenders, sites, the copilot task queue, the query bar, the application frame with its brand), blocks and screens, vitest tests and the registry are not included. The code is not built or type-checked on install: the package has no npm dependencies.

Source: An earlier product, packages/ui/src, 28.11.2026.

Normas 2

IDNormaNivelModoEnforcer
KU-R01
La biblioteca keer-ui se coloca en la carpeta del proyecto desde el campo target: de la página /design/keer-ui.md; cada archivo de su lista (.keer-ui.json) está en su sitio; cada importación relativa en .ts/.tsx y cada @import en CSS de esta carpeta encuentra su archivo.
MUST bloquea
comprobación
KU-R02
Junto a cada componente <name>.tsx de la carpeta de la biblioteca (salvo lib/, hooks/ y styles/) está <name>.states.tsx, que exporta meta y states.
SHOULD bloquea
comprobación

«Bloquea»: el enforcer detiene la infracción. «Observa»: solo la anota. El nivel MUST es obligatorio; SHOULD significa «sí, salvo que haya motivo».

Acciones 3

NombreQué haceArchivoCuándo
placePlace the library in the project folder (target: on /design/keer-ui.md); --force replaces edited files tooactions/place.ts
tras instalar tras actualizar
libraryThe library is intact: files in place, imports find their files
norma KU-R01
checks/library.ts
comprobación
statesA component has a states file
norma KU-R02
checks/states.ts
comprobación

shtuk check ejecuta las comprobaciones; shtuk run keer-ui <nombre> ejecuta cualquier acción. Las acciones «tras instalar» solo se ejecutan solas si el paquete viene de una fuente de confianza.

Páginas 4

Se copian al proyecto en estas rutas.

Archivos del paquete 127

Van a .shtukbase/packages/keer-ui/; las acciones se ejecutan desde ahí.

icon.svg 425 B