forked from shadcn-ui/registry-template
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathregistry.json
More file actions
479 lines (478 loc) · 14.9 KB
/
registry.json
File metadata and controls
479 lines (478 loc) · 14.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
{
"$schema": "https://ui.shadcn.com/schema/registry.json",
"name": "hellno/mini-app-ui",
"homepage": "https://hellno-mini-app-ui.vercel.app",
"items": [
{
"name": "daimo-pay-transfer-button",
"type": "registry:component",
"title": "Daimo Pay Button Token Transfer",
"description": "A custom button for transferring tokens",
"meta": {
"mediaUrl": "/previews/daimo-pay-transfer-button.mp4",
"demoUrl": "/component/daimo-pay-transfer-button",
"use_cases": [
"Token Transfer UI",
"On-chain Transactions",
"Custom Payment Buttons"
],
"keywords": [
"daimo",
"payment",
"tokens",
"transfer",
"donate",
"donation"
]
},
"dependencies": [
"@daimo/pay",
"@daimo/contract",
"wagmi",
"viem",
"@farcaster/miniapp-wagmi-connector"
],
"registryDependencies": ["button"],
"files": [
{
"path": "registry/mini-app/blocks/daimo-pay-transfer/components/daimo-pay-transfer-button.tsx",
"type": "registry:component"
},
{
"path": "registry/mini-app/blocks/daimo-pay-transfer/components/wagmi-provider.tsx",
"type": "registry:component"
}
]
},
{
"name": "share-cast-button",
"type": "registry:component",
"title": "Share Cast Button",
"description": "A button for sharing a cast",
"dependencies": [],
"registryDependencies": [
"button",
"https://hellno-mini-app-ui.vercel.app/r/use-miniapp-sdk.json"
],
"meta": {
"mediaUrl": "/previews/share-cast-button.mp4",
"demoUrl": "/component/share-cast-button",
"use_cases": [
"Social Sharing",
"Share on Farcaster",
"Content Distribution"
],
"keywords": ["share", "cast", "social", "farcaster"]
},
"files": [
{
"path": "registry/mini-app/blocks/share-cast-button/share-cast-button.tsx",
"type": "registry:component"
}
]
},
{
"name": "share-bottom-sheet",
"type": "registry:component",
"title": "Share Bottom Sheet",
"description": "A bottom sheet component for sharing content to Farcaster with customizable message",
"dependencies": ["lucide-react"],
"registryDependencies": [
"button",
"sheet",
"https://hellno-mini-app-ui.vercel.app/r/use-miniapp-sdk.json"
],
"meta": {
"demoUrl": "/component/share-bottom-sheet",
"use_cases": [
"Social Sharing",
"Share Dialogs",
"Call-to-Action Prompts",
"Mobile-First Sharing"
],
"keywords": ["share", "bottom-sheet", "cast", "farcaster", "social", "dialog", "modal"]
},
"files": [
{
"path": "registry/mini-app/blocks/share-bottom-sheet/share-bottom-sheet.tsx",
"type": "registry:component"
}
]
},
{
"name": "add-miniapp-button",
"type": "registry:component",
"title": "Add MiniApp Button",
"description": "A button to add or pin a mini app",
"meta": {
"use_cases": ["Pin MiniApp", "Add to client"],
"keywords": ["pin", "add"]
},
"dependencies": [],
"registryDependencies": [
"button",
"https://hellno-mini-app-ui.vercel.app/r/use-miniapp-sdk.json"
],
"files": [
{
"path": "registry/mini-app/blocks/add-miniapp-button/add-miniapp-button.tsx",
"type": "registry:component"
}
]
},
{
"name": "use-miniapp-sdk",
"type": "registry:hook",
"title": "useMiniAppSdk",
"description": "Hook for Farcaster MiniApp SDK context and state",
"files": [
{
"path": "registry/mini-app/hooks/use-miniapp-sdk.ts",
"type": "registry:hook"
}
],
"dependencies": ["@farcaster/miniapp-core", "@farcaster/miniapp-sdk"],
"registryDependencies": []
},
{
"name": "show-coin-balance",
"type": "registry:component",
"title": "Show Coin Balance",
"description": "Show coin balance for an address using Alchemy SDK",
"dependencies": ["viem", "alchemy-sdk"],
"registryDependencies": ["button", "input"],
"meta": {
"use_cases": ["Display Crypto Balance", "Address Balance Lookup"],
"keywords": ["balance", "coin", "alchemy-sdk", "wallet"]
},
"files": [
{
"path": "registry/mini-app/blocks/show-coin-balance/show-coin-balance.tsx",
"type": "registry:component"
}
]
},
{
"name": "use-profile",
"type": "registry:hook",
"title": "useProfile",
"description": "Hook to access and manage user profile information from Farcaster SDK",
"files": [
{
"path": "registry/mini-app/hooks/use-profile.ts",
"type": "registry:hook"
}
],
"dependencies": ["@farcaster/miniapp-core", "@farcaster/miniapp-sdk"],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/use-miniapp-sdk.json"
]
},
{
"name": "avatar",
"type": "registry:component",
"title": "User Avatar",
"description": "A customizable avatar component that can display user profile images with fallbacks",
"dependencies": [],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/use-profile.json",
"https://hellno-mini-app-ui.vercel.app/r/utils.json"
],
"meta": {
"use_cases": ["Display User Profile Image", "Avatar Fallbacks"],
"keywords": ["avatar", "profile", "image", "user", "fallback"]
},
"files": [
{
"path": "registry/mini-app/blocks/avatar/avatar.tsx",
"type": "registry:component"
}
]
},
{
"name": "user-context",
"type": "registry:component",
"title": "User Context",
"description": "Displays user information including avatar, username, and display name in a flexible layout",
"dependencies": [],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/avatar.json",
"https://hellno-mini-app-ui.vercel.app/r/use-profile.json",
"https://hellno-mini-app-ui.vercel.app/r/utils.json"
],
"meta": {
"use_cases": ["User Info Card", "Profile Summary"],
"keywords": ["avatar", "username", "display-name", "profile"]
},
"files": [
{
"path": "registry/mini-app/blocks/user-context/user-context.tsx",
"type": "registry:component"
}
]
},
{
"name": "nft-card",
"type": "registry:component",
"title": "NFT Card",
"description": "A versatile NFT display component that supports multiple blockchains with rich metadata and custom styling options",
"dependencies": ["viem"],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/utils.json",
"https://hellno-mini-app-ui.vercel.app/r/chains.json",
"https://hellno-mini-app-ui.vercel.app/r/nft-standards.json",
"https://hellno-mini-app-ui.vercel.app/r/nft-metadata-utils.json"
],
"meta": {
"use_cases": ["NFT Showcase", "Digital Collectibles Display"],
"keywords": ["nft", "collectible", "mint"]
},
"files": [
{
"path": "registry/mini-app/blocks/nft-card/nft-card.tsx",
"type": "registry:component"
}
]
},
{
"name": "onchain-user-search",
"type": "registry:component",
"title": "Onchain User Search",
"description": "Unified search for team members and friends across Farcaster usernames, ENS names, and Ethereum addresses. Resolves in all three directions with onchain address as primary interface.",
"dependencies": ["lucide-react", "viem"],
"registryDependencies": [
"button",
"input",
"https://hellno-mini-app-ui.vercel.app/r/use-miniapp-sdk.json",
"https://hellno-mini-app-ui.vercel.app/r/utils.json",
"https://hellno-mini-app-ui.vercel.app/r/chains.json",
"https://hellno-mini-app-ui.vercel.app/r/text-utils.json",
"https://hellno-mini-app-ui.vercel.app/r/address-utils.json"
],
"meta": {
"use_cases": ["User Search", "Profile Lookup", "Address Resolution", "ENS Resolution", "Team Member Search"],
"keywords": ["search", "profiles", "neynar", "farcaster", "ens", "address", "ethereum", "onchain"]
},
"files": [
{
"path": "registry/mini-app/blocks/onchain-user-search/onchain-user-search.tsx",
"type": "registry:component"
}
]
},
{
"name": "nft-mint-flow",
"type": "registry:block",
"description": "Universal NFT minting component that auto-detects provider (Manifold, OpenSea, generic) and handles all complexity including ERC20 payments and approvals",
"dependencies": [
"lucide-react",
"wagmi",
"viem",
"@farcaster/miniapp-wagmi-connector"
],
"devDependencies": [],
"registryDependencies": [
"button",
"sheet",
"https://hellno-mini-app-ui.vercel.app/r/use-miniapp-sdk.json",
"https://hellno-mini-app-ui.vercel.app/r/chains.json",
"https://hellno-mini-app-ui.vercel.app/r/nft-standards.json",
"https://hellno-mini-app-ui.vercel.app/r/nft-card.json"
],
"files": [
{
"path": "registry/mini-app/blocks/nft-mint-flow/nft-mint-flow.tsx",
"type": "registry:component"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/nft-mint-button.tsx",
"type": "registry:component"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/lib/types.ts",
"type": "registry:lib"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/lib/provider-configs.ts",
"type": "registry:lib"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/lib/provider-detector.ts",
"type": "registry:lib"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/lib/price-optimizer.ts",
"type": "registry:lib"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/lib/mint-reducer.ts",
"type": "registry:lib"
},
{
"path": "registry/mini-app/blocks/nft-mint-flow/lib/error-parser.ts",
"type": "registry:lib"
}
]
},
{
"name": "chains",
"type": "registry:lib",
"title": "chains",
"description": "Centralized chain configuration with Alchemy RPC support",
"files": [
{
"path": "registry/mini-app/lib/chains.ts",
"type": "registry:lib"
}
],
"dependencies": ["viem"],
"registryDependencies": []
},
{
"name": "nft-standards",
"type": "registry:lib",
"title": "nftStandards",
"description": "Common NFT contract ABIs and standards including ERC721 and Manifold",
"files": [
{
"path": "registry/mini-app/lib/nft-standards.ts",
"type": "registry:lib"
}
],
"dependencies": ["viem"],
"registryDependencies": []
},
{
"name": "nft-metadata-utils",
"type": "registry:lib",
"title": "nftMetadataUtils",
"description": "NFT metadata utilities with support for multiple standards including Manifold, Thirdweb, ERC721, and ERC1155",
"files": [
{
"path": "registry/mini-app/lib/nft-metadata-utils.ts",
"type": "registry:lib"
}
],
"dependencies": ["viem"],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/nft-standards.json"
]
},
{
"name": "text-utils",
"type": "registry:lib",
"title": "textUtils",
"description": "Utility functions for text manipulation and formatting",
"files": [
{
"path": "registry/mini-app/lib/text-utils.ts",
"type": "registry:lib"
}
],
"dependencies": [],
"registryDependencies": []
},
{
"name": "address-utils",
"type": "registry:lib",
"title": "addressUtils",
"description": "Utility functions for Ethereum address formatting, validation, and input type detection",
"files": [
{
"path": "registry/mini-app/lib/address-utils.ts",
"type": "registry:lib"
}
],
"dependencies": ["viem"],
"registryDependencies": []
},
{
"name": "avatar-utils",
"type": "registry:lib",
"title": "avatarUtils",
"description": "Utility functions for avatar manipulation and formatting",
"files": [
{
"path": "registry/mini-app/lib/avatar-utils.ts",
"type": "registry:lib"
}
],
"dependencies": [],
"registryDependencies": []
},
{
"name": "utils",
"type": "registry:lib",
"title": "utils",
"description": "Utility functions including cn for class name merging",
"files": [
{
"path": "registry/mini-app/lib/utils.ts",
"type": "registry:lib"
}
],
"dependencies": ["clsx", "tailwind-merge"],
"registryDependencies": []
},
{
"name": "button",
"type": "registry:ui",
"description": "Button component with variants",
"files": [
{
"path": "registry/mini-app/ui/button.tsx",
"type": "registry:ui"
}
],
"dependencies": ["@radix-ui/react-slot", "class-variance-authority"],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/utils.json"
]
},
{
"name": "input",
"type": "registry:ui",
"description": "Input component",
"files": [
{
"path": "registry/mini-app/ui/input.tsx",
"type": "registry:ui"
}
],
"dependencies": [],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/utils.json"
]
},
{
"name": "card",
"type": "registry:ui",
"description": "Card component",
"files": [
{
"path": "registry/mini-app/ui/card.tsx",
"type": "registry:ui"
}
],
"dependencies": [],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/utils.json"
]
},
{
"name": "sheet",
"type": "registry:ui",
"description": "Sheet component",
"files": [
{
"path": "registry/mini-app/ui/sheet.tsx",
"type": "registry:ui"
}
],
"dependencies": ["@radix-ui/react-dialog", "class-variance-authority"],
"registryDependencies": [
"https://hellno-mini-app-ui.vercel.app/r/utils.json"
]
}
]
}