# What is a code unit?

Checked 2026-11-12 against GilbApp 96968de7c3e3e685296f20a2599cbc8d305c9ea7.

A code unit is a ready piece of app code, such as a card or picker, kept in its own folder for apps to reuse.

## Before you start

Each unit has one reference document in the GilbPlatformCode Library, with what it does, its GitHub folder, the commit and its package. It is a copy you take into your app, not a service your app calls. Example: units/value-card, the whole Value card, tagged t:Value.card

## Deeper

Source: Rule\_Code\_gilbplatformcode-chooser-search \(A 06gjdq7m01y1sc3qrfevnpy5rc, 2026-11-11\): "Each library holds one reference document per reusable unit of code ... Its exhibit says what the unit does and gives the GitHub folder, the commit, the package and the clone address. The code stays on GitHub."; KaiGilb/GilbPlatformCode 7a40fd01 \(head of main, public, read with gh api 2026-11-11\) README.md:13 \("React and TypeScript units for apps"\), units/value-card/README.md:3; public read 2026-11-11 of https://appbuilder.gilb.com/lws/referencedocument/&lt;id\>/exhibits \(unitTag t:Value.card\). GilbVeda: no term \(public read https://veda.gilb.com/base/terms?q=CodeUnit 2026-11-11: 4 hits, none a unit of code\); concept to mint.
