- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add arla6ka/design.how --skill lime -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add arla6ka/design.how --skill lime -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add arla6ka/design.how --skill lime -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add arla6ka/design.how --skill lime -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/arla6ka/design.how/tree/HEAD/systems/limeTừ nhà phát hành
Lime is a white page, warm-grey surfaces and near-black text with one acid lime on the main action, for consumer apps. Build with these components before writing markup.
Once, in the root layout: put the "lime" class on <body> or the root element of the UI, with LimePortalProvider inside it. Lime's styles and tokens apply only inside that class.
Menus, dialogs, popovers and toasts render at the end of the body; LimePortalProvider keeps them inside the scope, and without it they lose every token. import {LimePortalProvider} from '@/lib/lime/portal'
<body className="lime"><LimePortalProvider>{children}</LimePortalProvider></body>
npx shadcn@latest add https://design.how/r/lime/lint.json, then run npx eslint -c lime.eslint.config.mjs .. Each message names the fix.When rules conflict, the earlier item wins.
import {Button} from '@/components/lime/ui/button'<div className="lime"><LimePortalProvider>{children}</LimePortalProvider></div><p className="text-fg"><p className="text-[#0f0f0d]"><Card className="bg-accent text-white">Your goals</Card><Card variant="glow">Recent activity</Card> // beside the upgrade cardimport {Amount, formatAmount} from '@/components/lime/ui/amount'<span>${total}</span><ApprovalRequest title="Pay Maya for dinner" amount={-24} reason="Your half of Friday dinner"/><h2 className="text-lg font-semibold">Recent activity</h2><p className="text-sm font-medium text-fg-3">Recent activity</p><Button>Send money</Button><Button>OK</Button>Every screen sits in this frame.
<div className="lime min-h-dvh bg-page text-fg"> with LimePortalProvider inside it<main className="mx-auto w-full max-w-md px-4 pt-4 pb-8 sm:px-6 sm:pt-8">main at max-w-2xlmain at max-w-5xl<header className="sticky top-0 z-10 flex h-14 items-center gap-2 bg-page">: a ghost size="icon" Button with aria-label="Back", then the h1; add border-b border-line once content scrolls under it<h1 className="text-xl leading-tight font-semibold tracking-tight sm:text-2xl">, one per page<section className="flex flex-col gap-3"> led by an h2 at text-lg font-semibold; sections sit gap-8 apartflex flex-col gap-4 at max-w-md; the submit Button last, size="lg" and w-full on a phone<div className="sticky bottom-0 bg-page pt-3 pb-4"> holding <Button size="lg" className="w-full">; add the safe-area inset under a home barThe habits of generated UI that Lime bans. Details: https://design.how/systems/lime/foundations/anti-slop.md
<p className="text-xs font-medium text-fg-3">Overview</p><h2>Spending</h2><Card>Income</Card><Card>Spent</Card><Card>Saved</Card><span className="rounded-panel bg-accent-wash p-2"><Icon icon={Wallet}/></span><div className="border-s-4 border-accent"><div className="bg-gradient-to-br from-accent to-surface backdrop-blur"><p className="text-xs text-fg-3">Transfers over $1,000 take one extra day to arrive.</p>Not in the system yet, and what to build meanwhile.
<nav aria-label="Main"> fixed to the bottom on bg-page with border-t border-line, 3 to 5 links each an Icon at 20 over a text-xs label, at least 56px tall; the current one has aria-current="page" in --fg, the rest --fg-3.type="date" inside a Field.import {ListItemMenu} from '@/components/lime/ui/list-item-menu': A row's other actions behind a more button, for ListItem's menu.import {Collapsible, CollapsibleTrigger, CollapsibleContent} from '@/components/lime/ui/collapsible': One section that opens and closes, the base of the Why? in Approval request.import {cn, mergeClass} from '@/lib/lime/utils': cn, which merges class names and knows Lime's radius and shadow names, and mergeClass, which keeps Lime's classes when className is a function of state.import {Icon} from '@/components/lime/icon': The one import point for Carbon icons.import {LimePortalProvider, useLimePortal} from '@/lib/lime/portal': Puts overlays inside the .lime scope so they keep its tokens.import {useFocusWhenReplaced} from '@/lib/lime/use-focus-when-replaced': Moves focus to an outcome when the buttons that had it are replaced, so a keyboard user is not dropped to the top.import {popupClass, itemClass, groupLabelClass, separatorClass} from '@/lib/lime/popup': The panel, item and separator classes every floating list shares.Import a glyph beside Icon from the path under Imports and pass it in: <Icon icon={Add} size={16}/>. These are all the names; another needs adding to that file first.
Add, ArrowDown, ArrowRight, ArrowUp, Attachment, Checkmark, CheckmarkFilled, ChevronDown, ChevronRight, ChevronSort, ChevronUp, Close, Copy, ErrorFilled, Image, Information, Menu, Play, Receipt, Renew, Search, Send, Subtract, Time, Upload, Wallet, PiggyBank, Warning, WarningFilled, ChevronLeft, ArrowLeft, Pause, OverflowMenuHorizontal, Folder, Star, Plus, Delete, Cafe, ShoppingBag, Notification, Locked, Undo, Edit, CircleDash, Location
The closed list. Use a token through its class, never a raw value: colors are utilities named after the role (bg-surface, text-fg, border-line); sizes read the scale (text-sm, rounded-field, shadow-card, h-(--control-lg), duration-(--dur-fast)). The class to use follows each token in brackets. Color names take bg-, text- or border-. A token with no class is read as a value, such as h-(--name).
import {Button, Spinner, buttonVariants} from '@/components/lime/ui/button'import {CopyButton} from '@/components/lime/ui/copy-button'import {Input, fieldControl} from '@/components/lime/ui/input'import {Textarea} from '@/components/lime/ui/textarea'import {Field, FieldLabel, FieldDescription, FieldError} from '@/components/lime/ui/field'import {Select, SelectGroup, SelectLabel, SelectTrigger, SelectContent, SelectItem, triggerVariants} from '@/components/lime/ui/select'import {Combobox, ComboboxInput, ComboboxContent, ComboboxList, ComboboxItem, ComboboxEmpty} from '@/components/lime/ui/combobox'import {Dropzone} from '@/components/lime/ui/dropzone'import {Keypad, pressKey} from '@/components/lime/ui/keypad'import {Checkbox} from '@/components/lime/ui/checkbox'import {RadioGroup, Radio} from '@/components/lime/ui/radio'import {Switch} from '@/components/lime/ui/switch'import {Slider} from '@/components/lime/ui/slider'import {Segmented, SegmentedItem, trackVariants} from '@/components/lime/ui/segmented'import {Chip, chipClass} from '@/components/lime/ui/chip'import {Badge, badgeVariants} from '@/components/lime/ui/badge'import {Avatar, AvatarGroup, avatarVariants} from '@/components/lime/ui/avatar'import {Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, cardVariants} from '@/components/lime/ui/card'import {Table, TableHeader, TableBody, TableFooter, TableRow, TableHead, TableCell, TableCaption} from '@/components/lime/ui/table'import {List, ListItem, ListIcon, listVariants} from '@/components/lime/ui/list'import {Progress} from '@/components/lime/ui/progress'import {Amount, amountAffordability, formatAmount, spokenAmount, toMoney, amountVariants} from '@/components/lime/ui/amount'import {BillSchedule} from '@/components/lime/ui/bill-schedule'import {Balance, balanceVariants} from '@/components/lime/ui/balance'import {Status, STATUS_META} from '@/components/lime/ui/status'import {Empty, EmptyIcon, EmptyTitle, EmptyDescription, EmptyActions} from '@/components/lime/ui/empty'import {Skeleton, skeletonVariants} from '@/components/lime/ui/skeleton'import {ErrorState} from '@/components/lime/ui/error-state'import {ToastProvider, useToast, createToastManager} from '@/components/lime/ui/toast'import {Dialog, DialogTrigger, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, DialogClose, backdropClass, dialogVariants} from '@/components/lime/ui/dialog'import {AlertDialog, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogClose} from '@/components/lime/ui/alert-dialog'import {Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, SheetBody, SheetFooter, SheetClose, useSheetSide} from '@/components/lime/ui/sheet'import {Popover, PopoverTrigger, PopoverContent, PopoverTitle, PopoverDescription, PopoverClose} from '@/components/lime/ui/popover'import {DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator} from '@/components/lime/ui/dropdown-menu'import {Tooltip, TooltipTrigger, TooltipContent, TooltipProvider} from '@/components/lime/ui/tooltip'import {Tabs, TabsList, TabsTrigger, TabsContent} from '@/components/lime/ui/tabs'import {Toolbar, ToolbarGroup, ToolbarButton, ToolbarToggle, ToolbarSeparator} from '@/components/lime/ui/toolbar'import {Accordion, AccordionItem, AccordionTrigger, AccordionContent} from '@/components/lime/ui/accordion'import {Separator} from '@/components/lime/ui/separator'import {ScrollArea} from '@/components/lime/ui/scroll-area'import {ChatInput} from '@/components/lime/ai/chat-input'import {Message, messageVariants} from '@/components/lime/ai/message'import {ToolCall} from '@/components/lime/ai/tool-call'import {FollowUps} from '@/components/lime/ai/follow-ups'import {ApprovalRequest} from '@/components/lime/ai/approval-request'import {ActionReceipt} from '@/components/lime/ai/action-receipt'import {AutonomyRule} from '@/components/lime/ai/autonomy-rule'import {ReceiptMatch} from '@/components/lime/ai/receipt-match'import {Insight} from '@/components/lime/ai/insight'Whole screens built only from the components above. Each installs to the blocks folder beside them.
npx shadcn@latest add https://design.how/r/lime/home.json import {HomeScreen} from '@/components/lime/blocks/home'npx shadcn@latest add https://design.how/r/lime/assistant-approval.json import {PayingABill} from '@/components/lime/blocks/assistant-approval'npx shadcn@latest add https://design.how/r/lime/assistant-alert.json import {UnusualCharge, CancelSubscription} from '@/components/lime/blocks/assistant-alert'npx shadcn@latest add https://design.how/r/lime/settings-rules.json import {PaydayRule, AssistantLimits} from '@/components/lime/blocks/settings-rules'npx shadcn@latest add https://design.how/r/lime/split-request.json import {SplitDinner} from '@/components/lime/blocks/split-request'npx shadcn@latest add https://design.how/r/lime/<name>.json, the name being the last part of its page link.
Lime design system rules for this project's UI. Use when building or changing any screen, component, form or style, when porting an existing screen onto Lime, or when checking UI against Lime.
---name: limedescription: Lime design system rules for this project's UI. Use when building or changing any screen, component, form or…---# systems/lime/SKILL.mdCâu hỏi thường gặp
Tải systems/lime/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/arla6ka/design.how.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.
<Field name="title"><FieldLabel>Goal name</FieldLabel><Input/></Field><span className="uppercase tracking-widest">Queued</span>Instant, secure transfers. Act now!<Button>Send 💸</Button><span className="animate-pulse">▍</span><motion.section whileInView={{opacity: 1, y: 0}}>