animal-island-ui-style
它能做什么
它为智能体提供 animal-island-ui 库的外观、组件和规则。适合希望为应用或页面采用这种温馨风格的设计师和开发者。
适用场景
- ✓当你想用 animal-island-ui 包构建一个 React 页面时。
- ✓当你想要一个无需构建步骤、独立的温馨岛屿风格 HTML 页面时。
- ✓当你想要温暖、活泼、带有药丸形按钮和柔和动效的界面时。
技能链接
https://github.com/guokaigdg/animal-island-ui/blob/main/skills/animal-island-ui-style/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请为我的面包店做一个单独的 HTML 落地页,采用温馨的岛屿风格。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体遵循风格规则和组件列表,然后构建一个使用该包的 React 项目,或一个自包含的 HTML 文件。颜色和形状与风格指南保持一致。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
animal-island-ui style
animal-island-ui is a React + TypeScript component library with an original
cozy island-style design — 42 components, two runtime dependencies (naive-icons
for icons, dayjs for dates), MIT License.
Source & canonical design definition: https://github.com/guokaigdg/animal-island-ui
Pick your scenario first
| Scenario | Entry |
|---|---|
React project — the animal-island-ui npm package is (or can be) installed |
references/react-project.md |
| Single self-contained HTML file — no npm, no bundler, React via CDN + Babel runtime | references/standalone-html.md |
Both scenarios share the component catalog and the hard rules below.
The style in one paragraph
Warm parchment backgrounds (--animal-bg), earth-brown text (never pure black), mint-teal
primary accent, large-radius pill shapes (buttons and inputs are 50px pills; nothing
interactive below 12px radius), 3D "game button" stacked shadow on primary buttons only,
rounded Nunito + Noto Sans SC typography (body weight 500, headings 600–900), soft
cubic-bezier(0.4, 0, 0.2, 1) motion over 0.15–0.35s, and a mix of geometric shapes
(swallowtail ribbon Title, digit-tile Countdown) with organic ones (SVG blob-clipped Modal).
Design tokens
The packaged stylesheet declares runtime CSS custom properties on :root — prefix
--animal-* — mapped from the library's compile-time tokens. Groups: primary/status
colors (with hover/active/bg variants), text colors, backgrounds, borders, radii, spacing,
shadows, font family/sizes, motion durations/easing, control heights.
When to use them:
- Styling layout wrappers, custom elements, or app-specific decoration next to library
components: use
var(--animal-*)instead of raw hex values so custom UI stays on-palette. - Theming: consumers may override
--animal-*variables after importing the library style. - Re-implementing the style without the library (standalone HTML): a complete
:roottemplate with exact values lives in the design system — css-variables.md (raw: https://raw.githubusercontent.com/guokaigdg/animal-island-ui/main/docs/design-system/css-variables.md).
Token values are deliberately not restated here. Exact definitions (every hex/px/ms): design-tokens.md. Pixel-exact per-component CSS (shadows, keyframes, clip-paths): design-system/components/.
Component catalog
Props references are grouped by category under references/components/ (props, legal
values, defaults — copied from source):
| Category | Components | Reference |
|---|---|---|
| General | Button, Typewriter, Cursor | general.md |
| Layout | Card, Title, Divider, Collapse, Tabs | layout.md |
| Form controls | Input, Switch, Checkbox, Radio, Rate, Select | form-controls.md |
| Upload | Upload | upload.md |
| Date & time | DatePicker, TimePicker | date-time.md |
| Form container | Form (+ FormItem, useForm) | Form.md |
| Overlays | Modal, Drawer, Tooltip | overlays.md |
| Feedback | Progress, Skeleton, BackTop, Loading, Countdown, Time | feedback.md |
| Notification | Notification (imperative API) | Notification.md |
| Data display | Table, CodeBlock, Tag, Badge, Pagination | data-display.md |
| Charts | Chart (19 types) | charts.md |
| Empty state | NoData | no-data.md |
| Calendar | Calendar | calendar.md |
| Count-up score | CountUp | CountUp.md |
| Media | Image, Avatar, Carousel | media.md |
| Decorative | Footer, Divider, Cursor, Typewriter, Background | decorative.md |
When a chart request uses an English demo label, resolve it through [Chart type selection](refe
常见问题
HTML 版本需要构建工具吗?
不需要。独立版本通过 CDN 加载 React 和 Babel 运行时,因此不需要 npm 或打包工具。
主要的视觉特征是什么?
温暖的羊皮纸色背景、大地棕色文字、薄荷青色点缀、药丸形按钮,以及柔和的动画。
这个库使用什么许可证?
该技能指出,该库以 MIT License 发布。
详情
作者的原始描述
Build React UIs in the animal-island-ui style — an a cozy island-style UI-inspired component library (warm earth tones, pill shapes, 3D game-button depth, soft motion). Use when (1) building pages or components with the animal-island-ui npm package in a React project; (2) generating a standalone single-file HTML page in this style with no build step; (3) the user asks for "a cozy island-style UI style", "animal island style", or a cozy rounded game-like UI.
热度
- GitHub 星标
- 5.1k
- 排名
- #15045
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …