aymericzip/intlayer-skills / skills/intlayer-react
intlayer-react
VerifiedIntegrates Intlayer internationalization with React component. Use when the user asks to "setup React i18n", create a new translated component, use the "useIntlayer" hook, or configure providers.
references/packages_react-intlayer_IntlayerProvider.md
View on GitHub---
createdAt: 2026-01-21
updatedAt: 2026-01-21
priority: 5
title: IntlayerProvider Component Documentation | react-intlayer
description: See how to use the IntlayerProvider component for react-intlayer package
keywords:
- IntlayerProvider
- react
- Intlayer
- intlayer
- Internationalization
- Documentation
slugs:
- doc
- packages
- react-intlayer
- IntlayerProvider
history:
- version: 7.5.14
date: 2026-01-21
changes: "Init doc"
author: aymericzip
---
# IntlayerProvider Component Documentation
The `IntlayerProvider` component is the main provider for Intlayer in React applications. It provides the Intlayer context to all its children.
## Usage
```tsx
import { IntlayerProvider } from "react-intlayer";
const App = ({ children }) => <IntlayerProvider>{children}</IntlayerProvider>;
```
## Props
| Prop | Type | Description |
| ----------------- | --------------------------------- | ------------------------------------------------- |
| `locale` | `LocalesValues` | The initial locale to use. |
| `defaultLocale` | `LocalesValues` | The default locale to use as a fallback. |
| `setLocale` | `(locale: LocalesValues) => void` | A custom function to set the locale. |
| `disableEditor` | `boolean` | Whether to disable the editor. |
| `isCookieEnabled` | `boolean` | Whether to enable cookies for storing the locale. |
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |