DESIGN.md@packages/sharedA

DESIGN.md@packages/shared from kazarazat/chai-ui is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add kazarazat/chai-ui/packages/shared/DESIGN.md@git:20261102.0974849

Pins git:20261102.0974849 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
kazarazat/chai-ui
Path
packages/shared/DESIGN.md
Versions recorded
8
Latest version
git:20261102.0974849, committed Nov 2, 2026
First version recorded
Oct 26, 2026
Size
20,754 bytes
Repository stars
16
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# CHAI UI — DESIGN.md

The rules for building with `@chai-ui/react`, `@chai-ui/vue` or
`@chai-ui/svelte`, written for the people and the coding agents who
integrate them. All three packages ship this file. It uses React's names; "In Vue" and "In Svelte" below map them. The API reference is the JSDoc on each
component's props and the docs site's `llms.txt`. This file covers how to
use the pieces correctly: which component to pick, which tokens to use,
which states you get for free, and what not to build.

If this file and the code disagree, the code wins. Please report the
mismatch.

## 1. Pick the component, don't rebuild it

| You need | Use | Not |
|---|---|---|
| A prompt box with attach, model and aspect-ratio pickers, submit | `Composer` | A hand-built textarea + button row |
| Media (image, video, audio) in, a generation-ready prompt out | `MediaAnalyzer` + `useMediaAnalyzer` | A file input plus your own model call |
| One prompt's generated output (image, video, audio, text) | `ResultCard` | A custom media card |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kazarazat/chai-ui/packages/shared/DESIGN.md@sha256:e6bd804ee5107b64

The line at the top of this page pins the label git:20261102.0974849, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_os674fhugt5p6kuf.svg)](https://markdownregistry.com/a/art_os674fhugt5p6kuf)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Oct 26, 2026 and Nov 2, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261102.0974849 latest2026-11-02 0974849 20,754 BA view · diff
git:20261030.94aa60e2026-10-30 94aa60e 20,719 BA view · diff
git:20261030.a317db42026-10-30 a317db4 20,509 BA view · diff
git:20261030.8ae07912026-10-30 8ae0791 20,464 BA view · diff
git:20261030.0d582462026-10-30 0d58246 20,374 BA view · diff
git:20261030.19f5e832026-10-30 19f5e83 19,613 BA view · diff
git:20261026.83ac1422026-10-26 83ac142 18,860 BA view · diff
git:20261026.629f98e2026-10-26 629f98e 18,695 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (20754 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kazarazat/chai-ui · 16 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_os674fhugt5p6kuf
GET https://markdownregistry.com/api/v1/resolve?ref=kazarazat/chai-ui/packages/shared/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/e6bd804ee5107b643b815fd6fd01b1e0fc49bbc1adcdaedde158aa59cf535a5a

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what DESIGN.md is and how agents use it · which agent file does what.

More from kazarazat/chai-ui

AGENTS.md AGENTS.md file
kazarazat/chai-ui · AGENTS.md
git:20261030.84c19f3 · audit A · 16 stars
CLAUDE.md CLAUDE.md file
kazarazat/chai-ui · CLAUDE.md
git:20261023.01648f7 · audit B · 16 stars

Every file in kazarazat/chai-ui

Browse by kind, by grade A, or by owner.