### Expo Framework Setup Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-native/SKILL.md Initialize a new Expo project and install the necessary packages for HeroUI Native. ```bash npx create-expo-app MyApp cd MyApp npm i heroui-native uniwind tailwindcss npm i react-native-reanimated react-native-gesture-handler react-native-safe-area-context @gorhom/bottom-sheet react-native-svg react-native-worklets tailwind-merge tailwind-variants ``` -------------------------------- ### Get HeroUI documentation guides Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-react/SKILL.md Node script to fetch non-component documentation such as getting-started guides and release notes. ```bash node scripts/get_docs.mjs /docs/react/getting-started/theming ``` -------------------------------- ### HeroUI CLI env command output example Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Example output showing installed package versions, status, and system environment info. ```bash HeroUI CLI Current installed packages: ╭──────────────────────────────────────────────────────────────────────────────────────╮ │ Package │ Version │ Status │ Docs │ │──────────────────────────────────────────────────────────────────────────────────────│ │ @heroui/react │ 3.0.0 🚀latest │ stable │ https://heroui.com │ │ @heroui/styles │ 3.0.0 🚀latest │ stable │ https://heroui.com │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ Environment Info: System: OS: darwin CPU: arm64 Binaries: Node: v25.8.1 ``` -------------------------------- ### Start the development server Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/releases/cli-v1-0-0.mdx Navigate into the project directory and start the Expo development server. ```bash cd my-app npm run start ``` -------------------------------- ### Common CLI usage examples Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/releases/cli-v1-0-0.mdx Various ways to use the CLI, including interactive mode, specific templates, and skipping installation steps. ```bash # Fully interactive — prompts for both project name and template npx create-heroui-native-app@latest # Project name supplied, template picker still shown npx create-heroui-native-app@latest my-app # Fully non-interactive npx create-heroui-native-app@latest my-app --expo # Tabs template, install with pnpm npx create-heroui-native-app@latest my-app --expo-tabs --use-pnpm # Scaffold only, no install, no git npx create-heroui-native-app@latest my-app --expo --skip-install --skip-git ``` -------------------------------- ### Build HeroUI Components and Start Documentation Server Source: https://github.com/heroui-inc/heroui/blob/v3/CONTRIBUTING.md Builds the HeroUI source components and then starts the Next.js development server for documentation. ```bash ## Build HeroUI source components pnpm build ## Start the next.js documentation dev server pnpm dev:docs ``` -------------------------------- ### HeroUI v2 Code Component Full Example Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/migration/(components)/code.mdx This example demonstrates the usage of the HeroUI v2 `Code` component for displaying installation commands and various styled code snippets. ```tsx import { Code } from "@heroui/react"; export default function App() { return (

Install HeroUI with npm install @heroui/react

Primary Success Warning Danger
Small Medium Large
); } ``` -------------------------------- ### Quick Installation Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-native/SKILL.md Install the core library along with all required peer dependencies for React Native. ```bash npm i heroui-native react-native-reanimated react-native-gesture-handler react-native-safe-area-context @gorhom/bottom-sheet react-native-svg react-native-worklets tailwind-merge tailwind-variants ``` -------------------------------- ### Start Storybook Server for Development Source: https://github.com/heroui-inc/heroui/blob/v3/CONTRIBUTING.md Starts the Storybook server to facilitate faster component development and testing. ```bash pnpm sb ``` -------------------------------- ### Simple Previous/Next Pagination Controls (v3) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/migration/(components)/pagination.mdx This example shows a simplified pagination setup with only previous and next buttons, suitable for basic navigation. This pattern was not built-in for v2. ```tsx const [page, setPage] = useState(1); const totalPages = 10; setPage((p) => p - 1)} > Previous setPage((p) => p + 1)} > Next ``` -------------------------------- ### Install MUI Material Packages with npm Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/blog/en/heroui-vs-mui.mdx This command installs the core MUI Material components along with Emotion for styling. Note that Pigment CSS setup is a separate and experimental process. ```bash npm install @mui/material @emotion/react @emotion/styled ``` -------------------------------- ### Install project dependencies Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Navigate to the project directory and install required packages using your preferred manager. ```bash cd my-heroui-app && npm install ``` ```bash cd my-heroui-app && pnpm install ``` ```bash cd my-heroui-app && yarn install ``` ```bash cd my-heroui-app && bun install ``` -------------------------------- ### Install HeroUI Migration Tool via Bash Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-migration/SKILL.md Command to download and execute the HeroUI migration script using curl and bash to initialize the migration process. ```bash curl -fsSL https://heroui.com/install | bash -s heroui-migration ``` -------------------------------- ### Install project dependencies Source: https://github.com/heroui-inc/heroui/blob/v3/CONTRIBUTING.md Commands to install dependencies in the root folder with hoisting enabled. ```bash pnpm i --hoist #or pnpm install --hoist ``` -------------------------------- ### Install HeroUI and HeroUI Pro Packages Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/blog/en/build-react-dashboard-with-heroui.mdx Installs the necessary HeroUI and HeroUI Pro packages for building a React dashboard. ```bash npm install @heroui/styles @heroui/react @heroui-pro/react ``` -------------------------------- ### Start the development server Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Runs the local development server for the newly created project. ```npm npm run dev ``` -------------------------------- ### Basic Accordion Usage with Single Selection Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(navigation)/accordion.mdx This example shows the fundamental setup for an Accordion component, configured to allow only one item to be expanded at a time. ```tsx ... ... ``` -------------------------------- ### Install HeroUI Packages via npm Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/blog/en/why-choose-heroui-for-your-design-system.mdx Install the core HeroUI styles and React components using npm. This is the first step in setting up HeroUI in your project. ```bash npm i @heroui/styles @heroui/react ``` -------------------------------- ### Install HeroUI v3 Beta 2 Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/releases/v3-0-0-beta-2.mdx Use your preferred package manager to install the beta versions of HeroUI styles and React components. ```bash npm i @heroui/styles@beta @heroui/react@beta ``` ```bash pnpm add @heroui/styles@beta @heroui/react@beta ``` ```bash yarn add @heroui/styles@beta @heroui/react@beta ``` ```bash bun add @heroui/styles@beta @heroui/react@beta ``` -------------------------------- ### Full InputOTP Usage Example (React Native) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(forms)/input-otp.mdx A complete example demonstrating the `InputOTP` component with `Label`, `Description`, and `useRef` for programmatic control like clearing the input after completion. ```tsx import { InputOTP, Label, Description, type InputOTPRef } from 'heroui-native'; import { View } from 'react-native'; import { useRef } from 'react'; export default function InputOTPExample() { const ref = useRef(null); const onComplete = (code: string) => { console.log('OTP completed:', code); setTimeout(() => { ref.current?.clear(); }, 1000); }; return ( We've sent a code to a****@gmail.com ); } ``` -------------------------------- ### Complete Dialog Component Example (TSX) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(overlays)/dialog.mdx A full, runnable example demonstrating a confirmation dialog with state management, custom content, and multiple action buttons. ```tsx import { Button, Dialog } from 'heroui-native'; import { View } from 'react-native'; import { useState } from 'react'; export default function DialogExample() { const [isOpen, setIsOpen] = useState(false); return ( Confirm Action Are you sure you want to proceed with this action? This cannot be undone. ); } ``` -------------------------------- ### Install next-themes for Next.js Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(handbook)/dark-mode.mdx Install the `next-themes` library using your preferred package manager to enable theme persistence and system preference support in Next.js applications. ```bash npm i next-themes ``` ```bash pnpm add next-themes ``` ```bash yarn add next-themes ``` ```bash bun add next-themes ``` -------------------------------- ### Basic Pagination in HeroUI v3 (Migration Example) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/migration/(components)/pagination.mdx This example demonstrates how to implement basic pagination in v3 by manually composing `Pagination.Item` and `Pagination.Link` components, managing the active page state with `useState`. ```tsx import { useState } from "react"; import { Pagination } from "@heroui/react"; const [page, setPage] = useState(1); const totalPages = 10; {Array.from({ length: totalPages }, (_, i) => i + 1).map((p) => ( setPage(p)}> {p} ))} ``` -------------------------------- ### Quick install HeroUI v3 dependencies Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-react/SKILL.md npm install command for core HeroUI v3 packages and required dependencies. ```bash npm i @heroui/styles @heroui/react tailwind-variants ``` -------------------------------- ### Full InputGroup Component Example Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(forms)/input-group.mdx A complete, runnable example demonstrating InputGroup with a password input, including state management for visibility toggle. ```tsx import { InputGroup } from 'heroui-native'; import { Ionicons } from '@expo/vector-icons'; import { useState } from 'react'; import { Pressable, View } from 'react-native'; export default function InputGroupExample() { const [value, setValue] = useState(''); const [isPasswordVisible, setIsPasswordVisible] = useState(false); return ( setIsPasswordVisible(!isPasswordVisible)} hitSlop={20} > ); } ``` -------------------------------- ### Install HeroUI Dependencies with Package Managers Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/quick-start.mdx Install the core HeroUI packages, `@heroui/styles` and `@heroui/react`, using your preferred package manager. ```bash npm i @heroui/styles @heroui/react ``` ```bash pnpm add @heroui/styles @heroui/react ``` ```bash yarn add @heroui/styles @heroui/react ``` ```bash bun add @heroui/styles @heroui/react ``` -------------------------------- ### Install HeroUI Migration Skill with curl Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/migration/(migration-for-agents)/agent-skills.mdx Use this command to install the HeroUI Migration skill directly via a curl script. ```bash curl -fsSL https://heroui.com/install | bash -s heroui-migration ``` -------------------------------- ### Install HeroUI Native Skills with cURL Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/getting-started/(ui-for-agents)/agent-skills.mdx Use this command to install HeroUI Native Skills via a cURL script. ```bash curl -fsSL https://heroui.com/install | bash -s heroui-native ``` -------------------------------- ### Full Description Component Example Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(forms)/description.mdx A complete example demonstrating the integration of `Description` components with multiple form fields for email and password inputs. ```tsx import { Description, TextField } from 'heroui-native'; import { View } from 'react-native'; export default function DescriptionExample() { return ( We'll never share your email with anyone else. Use at least 8 characters with a mix of letters, numbers, and symbols. ); } ``` -------------------------------- ### Install HeroUI npm packages Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/blog/en/heroui-vs-shadcn.mdx Use this command to install the core HeroUI styles and React components into your project, enabling traditional package-based usage. ```bash npm install @heroui/styles @heroui/react ``` -------------------------------- ### Complete Card Component Example Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(layout)/card.mdx A comprehensive example demonstrating the `Card` component with nested `Card.Body`, `Card.Title`, `Card.Description`, and `Card.Footer` sections, including `Button` components and `Ionicons`. ```tsx import { Button, Card } from 'heroui-native'; import { Ionicons } from '@expo/vector-icons'; import { View } from 'react-native'; export default function CardExample() { return ( $450 Living room Sofa • Collection 2025 This sofa is perfect for modern tropical spaces, baroque inspired spaces. ); } ``` -------------------------------- ### Switch with Start and End Content (v2 vs v3) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/migration/(components)/switch.mdx Demonstrates how to place content at the start and end of the Switch component, highlighting the migration from dedicated props to a structured `Switch.Control` in v3. ```tsx } endContent={} > Dark mode ``` ```tsx Dark mode ``` -------------------------------- ### Basic Pagination in HeroUI v2 (Migration Example) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/migration/(components)/pagination.mdx This example shows the basic usage of the v2 `Pagination` component, which automatically generates page items based on the `total` prop. ```tsx import { Pagination } from "@heroui/react"; ``` -------------------------------- ### Full Menu Example with Multiple and Single Selection Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(collections)/menu.mdx A comprehensive example demonstrating a `Menu` with both multiple-selection text styles and single-selection text alignment groups, utilizing `Menu.ItemIndicator` and `variant="dot"`. ```tsx import type { MenuKey } from 'heroui-native'; import { Button, Menu, Separator } from 'heroui-native'; import { useState } from 'react'; import { Text, View } from 'react-native'; export default function MenuExample() { const [textStyles, setTextStyles] = useState>( () => new Set(['bold', 'italic']) ); const [alignment, setAlignment] = useState>( () => new Set(['left']) ); return ( Text Style Bold ⌘ B Italic ⌘ I Underline ⌘ U Text Alignment Left Center Right ); } ``` -------------------------------- ### Complete Surface Component Example with Variants (TSX) Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(layout)/surface.mdx This example demonstrates a full implementation of the `Surface` component, showcasing `default`, `secondary`, and `tertiary` variants within a `View` container. ```tsx import { Surface } from 'heroui-native'; import { Text, View } from 'react-native'; export default function SurfaceExample() { return ( Surface Content This is a default surface variant. It uses bg-surface styling. Surface Content This is a secondary surface variant. It uses bg-surface-secondary styling. Surface Content This is a tertiary surface variant. It uses bg-surface-tertiary styling. ); } ``` -------------------------------- ### Install HeroUI React Package Source: https://github.com/heroui-inc/heroui/blob/v3/README.md Use this command to install the main HeroUI React component library package using npm, making it available for use in your project. ```bash npm install @heroui/react ``` -------------------------------- ### Install HeroUI v3 with Next.js App Router Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-react/SKILL.md Complete npm install for Next.js App Router setup with HeroUI v3, Tailwind CSS v4, and PostCSS. ```bash npm i @heroui/styles @heroui/react tailwind-variants tailwindcss @tailwindcss/postcss postcss ``` -------------------------------- ### Access Migration Documentation via Node.js Scripts Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-migration/SKILL.md A collection of Node.js scripts used to list available migration guides, fetch specific component documentation, or retrieve styling and hooks migration details. ```bash # List all available component migration guides node scripts/list_migration_guides.mjs # Get main migration workflow (full or incremental) node scripts/get_migration_guide.mjs full node scripts/get_migration_guide.mjs incremental # Get component-specific migration guides node scripts/get_component_migration_guides.mjs button node scripts/get_component_migration_guides.mjs button card modal # Get styling migration guide node scripts/get_styling_migration_guide.mjs # Get hooks migration guide node scripts/get_hooks_migration_guide.mjs ``` -------------------------------- ### Interactive project initialization output Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Example of the interactive prompts and success message when running the init command. ```bash HeroUI CLI ┌ Create a new project │ ◇ Select a template (Enter to select) │ ● App (A Next.js 16 with app directory template pre-configured with HeroUI (v3) and Tailwind CSS.) │ ○ Pages (A Next.js 16 with pages directory template pre-configured with HeroUI (v3) and Tailwind CSS.) │ ○ Vite (A Vite template pre-configured with HeroUI (v3) and Tailwind CSS.) │ ○ React Router (A React Router template pre-configured with HeroUI (v3) and Tailwind CSS.) │ ◇ New project name (Enter to skip with default name) │ my-heroui-app │ ◇ Select a package manager (Enter to select) │ ● npm │ ○ yarn │ ○ pnpm │ ○ bun │ ◇ Template created successfully! │ ◇ Next steps ───────╮ │ │ │ cd my-heroui-app │ │ npm install │ │ │ ├────────────────────╯ │ └ 🚀 Get started with npm run dev ``` -------------------------------- ### Start Next.js Documentation Server Source: https://github.com/heroui-inc/heroui/blob/v3/CONTRIBUTING.md Launches the Next.js documentation server, which automatically detects changes in components. ```bash pnpm dev:docs ``` -------------------------------- ### Scaffold with specific starter templates Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/releases/cli-v1-0-0.mdx Use flags to specify a template and package manager directly, bypassing interactive prompts. ```bash npx create-heroui-native-app@latest my-app --expo npx create-heroui-native-app@latest my-app --expo-tabs --use-pnpm ``` -------------------------------- ### Start development server Source: https://github.com/heroui-inc/heroui/blob/v3/CONTRIBUTING.md Command to launch the Babel development server for HeroUI core components. ```bash ## Start the dev babel server of HeroUI core components pnpm dev ``` -------------------------------- ### Implementing a Custom Animated Switch with heroui-native Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(controls)/switch.mdx Use this example to create a Switch component with custom animations for background color and thumb position, and animated content for start and end states using `react-native-reanimated` and `Ionicons`. ```tsx import { Switch } from 'heroui-native'; import { Ionicons } from '@expo/vector-icons'; import React from 'react'; import { View } from 'react-native'; import Animated, { ZoomIn } from 'react-native-reanimated'; export default function SwitchExample() { const [darkMode, setDarkMode] = React.useState(false); return ( {darkMode && ( )} {!darkMode && ( )} ); } ``` -------------------------------- ### Handling DateValue Types with DateField Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/components/(date-and-time)/date-field.mdx This example illustrates how to parse a date string and get today's date using @internationalized/date types, then use these values with the DateField component. It shows how to prepare date values for the value prop. ```tsx import {parseDate, today, getLocalTimeZone} from '@internationalized/date'; // Parse from string const date = parseDate('2024-01-15'); // Today's date const todayDate = today(getLocalTimeZone()); // Use in DateField {/* ... */} ``` -------------------------------- ### Progressive Disclosure for Button Components Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/design-principles.mdx Illustrates how HeroUI components support progressive disclosure, allowing you to start with minimal props and add complexity as requirements grow. Examples show a basic button, an enhanced button with an icon, and an advanced button with loading state. ```tsx // Level 1: Minimal ``` ```tsx // Level 2: Enhanced ``` ```tsx // Level 3: Advanced ``` -------------------------------- ### Initialize a new project Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Command syntax for creating a new HeroUI project with optional template and package manager flags. ```bash heroui init [options] ``` -------------------------------- ### Basic Menu Usage Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(collections)/menu.mdx This example demonstrates how to set up a basic floating context menu with a trigger and a few simple menu items. ```tsx ... View Profile Settings ``` -------------------------------- ### Install HeroUI React Skills via curl Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(ui-for-agents)/agent-skills.mdx Use this command to install HeroUI React skills directly from the HeroUI installation script. ```bash curl -fsSL https://heroui.com/install | bash -s heroui-react ``` -------------------------------- ### List installed HeroUI packages Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Displays the currently installed versions and status of HeroUI packages. ```bash heroui list [options] ``` ```text HeroUI CLI Current installed packages: ╭──────────────────────────────────────────────────────────────────────────────────────╮ │ Package │ Version │ Status │ Docs │ │──────────────────────────────────────────────────────────────────────────────────────│ │ @heroui/react │ 3.0.0 🚀latest │ stable │ https://heroui.com │ │ @heroui/styles │ 3.0.0 🚀latest │ stable │ https://heroui.com │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ ``` -------------------------------- ### Documentation and Theme Scripts Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-native/SKILL.md Use these scripts to list components, fetch MDX documentation, or retrieve theme variables. ```bash node scripts/list_components.mjs ``` ```bash node scripts/get_component_docs.mjs Button ``` ```bash node scripts/get_component_docs.mjs Button Card TextField ``` ```bash node scripts/get_theme.mjs ``` ```bash node scripts/get_docs.mjs /docs/native/getting-started/theming ``` -------------------------------- ### Install HeroUI CLI globally Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Installs the CLI tool globally on your system using npm. ```npm npm install heroui-cli@latest -g ``` -------------------------------- ### Initialize and Add shadcn/ui Components Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/blog/en/heroui-vs-shadcn.mdx Initializes shadcn/ui in your project and adds specific components individually. The CLI handles dependency resolution. ```bash npx shadcn@latest init npx shadcn@latest add button card table dialog ``` -------------------------------- ### Display HeroUI CLI help Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/cli.mdx Shows all available commands and global options for the CLI. ```bash heroui ``` -------------------------------- ### Conventional commit message example Source: https://github.com/heroui-inc/heroui/blob/v3/CONTRIBUTING.md An example of a commit message following the category(scope): message convention. ```text feat(components): add new prop to the avatar component ``` -------------------------------- ### Using Simple Components like Button Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(handbook)/composition.mdx Demonstrates various ways to use simple components like Button, including direct usage, with '.Root' suffix, and via named exports. ```tsx import { Button } from '@heroui/react'; // Recommended - no .Root needed // Or with .Root Click me // Or named export import { ButtonRoot } from '@heroui/react'; Click me ``` -------------------------------- ### Get HeroUI component documentation Source: https://github.com/heroui-inc/heroui/blob/v3/skills/heroui-react/SKILL.md Node script to fetch MDX documentation for one or multiple components. ```bash node scripts/get_component_docs.mjs Button node scripts/get_component_docs.mjs Button Card TextField ``` -------------------------------- ### Create Next.js Project with HeroUI CLI Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/react/getting-started/(overview)/frameworks.mdx Use the HeroUI CLI to initialize a new Next.js project. Select either the App or Pages template when prompted. ```bash npx heroui-cli@latest init ``` -------------------------------- ### Complete TextArea Example Source: https://github.com/heroui-inc/heroui/blob/v3/apps/docs/content/docs/en/native/components/(forms)/text-area.mdx A full React Native component example demonstrating multiple TextArea variants within a layout. ```tsx import { Description, FieldError, Label, TextArea, TextField } from 'heroui-native'; import { View } from 'react-native'; export default function TextAreaExample() { return (