Skip to content

Commit 4dd088a

Browse files
committed
Add Primitive Atoms section with contracts and required libraries for UI components
1 parent 4f9a7a8 commit 4dd088a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/prompts/development/component.prompt.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ Standalone cards placed on a dashboard grid.
105105
* **Analysis:** `pivot` (Cross-Tab Table).
106106
* **Content:** `table` (List), `text` (Note), `image`, `frame` (Embed).
107107
108+
### F. Primitive Atoms (`atom.*`)
109+
The fundamental building blocks used by all other widgets.
110+
* **Contract:** Pure UI components (No metadata dependencies).
111+
* **Required Library:**
112+
* `atom.icon` (Lucide Wrapper).
113+
* `atom.button` (Standard Actions).
114+
* `atom.spinner` (Loading State).
115+
* `atom.empty` (No Data Placeholder).
116+
* `atom.error` (Error Boundary/Message).
117+
* `atom.badge` (Status Indicators).
118+
108119
---
109120
110121
## 2. API Reference & Contracts

0 commit comments

Comments
 (0)