xiaohongshu
xiaohongshu
heroui-recommender
Recommend appropriate HeroUI components for new features and ensure proper usage. Use when implementing new UI features or migrating from shadcn/ui to HeroUI.
Full skill instructions
This Skill helps developers select and implement the right HeroUI components for features, ensuring consistent UI/UX across the application.
The project uses these HeroUI components (from package.json):
@heroui/button) - Actions, CTAs, form submissions@heroui/tabs) - Section navigation, category switching@heroui/pagination) - List navigation, data tables@heroui/input) - Form fields, search boxes@heroui/popover) - Contextual information, tooltips@heroui/tooltip) - Hover hints, icon explanations@heroui/card) - Content containers, dashboard widgets@heroui/table) - Data grids, listings@heroui/chip) - Tags, badges, status indicators@heroui/alert) - Notifications, warnings, info messages@heroui/toast) - Temporary notifications, success messages@heroui/spacer) - Flexible spacing between elements@heroui/spinner) - Loading states, async operationsRecommended Components:
Table from @heroui/table - Main data displayPagination from @heroui/pagination - Navigation controlsChip from @heroui/chip - Status badgesSpinner from @heroui/spinner - Loading stateUsage Example:
import { Table, TableHeader, TableColumn, TableBody, TableRow, TableCell } from "@heroui/table";
import { Pagination } from "@heroui/pagination";
import { Chip } from "@heroui/chip";
export function DataTable() {
return (
<div className="flex flex-col gap-4">
<Table aria-label="Car registrations">
<TableHeader>
<TableColumn>Make</TableColumn>
<TableColumn>Model</TableColumn>
<TableColumn>Status</TableColumn>
</TableHeader>
<TableBody>
<TableRow key="1">
<TableCell>Toyota</TableCell>
<TableCell>Camry</TableCell>
<TableCell>
<Chip color="success" variant="flat">Active</Chip>
</TableCell>
</TableRow>
</TableBody>
</Table>
<Pagination total={10} initialPage={1} />
</div>
);
}
Recommended Components:
Input from @heroui/input - Form fieldsButton from @heroui/button - Submit actionAlert from @heroui/alert - Error messagesRecommended Components:
Card from @heroui/card - ContainerChip from @heroui/chip - Metrics, trendsSpinner from @heroui/spinner - Loading stateAll HeroUI components support semantic colors:
Text Colors:
text-foreground - Primary text (auto-adjusts for light/dark mode)text-default-900 - Strong emphasistext-default-600 - Secondary texttext-muted-foreground - Metadata, captionsComponent Colors:
color="default" - Neutral, standard UIcolor="primary" - Main actions, CTAscolor="secondary" - Supporting actionscolor="success" - Positive states, confirmationscolor="warning" - Caution, important noticescolor="danger" - Errors, destructive actionsEnsure all HeroUI components include:
aria-label attributes for screen readersCommon Mappings:
Button → @heroui/buttonCard → @heroui/cardBadge → @heroui/chipTable → @heroui/tableTabs → @heroui/tabsTooltip → @heroui/tooltipNote: Do NOT modify files in src/components/ui/ (shadcn/ui). Create new HeroUI components in appropriate directories.
mcp__context7__resolve-library-id - Find HeroUI library IDmcp__context7__get-library-docs - Get component documentationWhen fetching HeroUI docs via Context7:
/heroui/react or component-specific packagesFrom apps/web/CLAUDE.md:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience