### Consistent Color Theming Example - React Native
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Demonstrates consistent color theming for a UI section using a single color palette. This example shows how to apply background, border, body text, and heading colors from a specified palette (e.g., 'pink') to maintain visual harmony.
```tsx
// Use a single palette consistently
backgroundColor: colors.palettes.pink.a2, // Subtle background
borderColor: colors.palettes.pink.a4, // Border
color: colors.palettes.pink.a11, // Body text
color: colors.palettes.pink.a12 // Heading
```
--------------------------------
### Stat Card Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Showcases a 'Stat Card' component designed for displaying key metrics. This example includes a metric title, value, and a comparison with a percentage change indicated by a badge.
```tsx
Total Revenue
$12,345+12%
vs last month
```
--------------------------------
### Install Frosted UI Icons
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-icons/README.md
Installs the Frosted UI Icons package from npm. This is the first step to using the icons in a React project.
```bash
npm install @frosted-ui/icons
```
--------------------------------
### Install Frosted UI Package
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui/README.md
This command installs the Frosted UI package using pnpm. Ensure you have pnpm installed and configured in your project.
```sh
pnpm add frosted-ui
```
--------------------------------
### Installation Command for Generation Script
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui/scripts/emoji-colors/README.md
This command installs all necessary project dependencies, including packages required for the emoji color generation scripts. It uses `pnpm` as the package manager.
```bash
pnpm install
```
--------------------------------
### Implement Shipping Options Selection with Frosted UI
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
This example demonstrates how to create a shipping options selection interface using Frosted UI's `List` and `RadioGroup` components. It maps over an array of shipping options, each with an icon, name, price, and estimated delivery time, allowing users to select their preferred method.
```tsx
const [selected, setSelected] = React.useState('standard');
const options = [
{
id: 'standard',
name: 'Standard Shipping',
price: 'Free',
time: '5-7 business days',
icon: Truck,
},
{ id: 'express', name: 'Express Shipping', price: '$9.99', time: '2-3 business days', icon: Zap },
{ id: 'overnight', name: 'Overnight', price: '$24.99', time: 'Next business day', icon: Clock },
];
{options.map((option, index) => (
{index > 0 && }
setSelected(option.id)}>
{option.name}{option.time}
{option.price}
))}
```
--------------------------------
### Soft Card - Pro Tip/Highlight Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Illustrates the 'soft' variant of the Card component, used for highlighted sections like tips or feature callouts. This example shows a lightbulb icon, a tip title, supporting text, and an action button.
```tsx
Pro Tip
Enable notifications to stay updated on new messages and activity from your team.
```
--------------------------------
### Info Card Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Presents a standard 'Info Card' component, useful for displaying informational messages with a title, description, and action buttons. It includes an info icon and options to dismiss or perform an action.
```tsx
Card Title
Supporting description text that provides more context.
```
--------------------------------
### React Native Product Grid with Adaptive Layout
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
An example screen component `ProductGridScreen` that leverages the `useAdaptiveLayout` hook to render a product grid. It dynamically calculates the number of columns and padding based on screen width, ensuring a responsive layout for product listings.
```tsx
function ProductGridScreen() {
const { colors } = useThemeTokens();
const { getColumns, padding, isDesktop } = useAdaptiveLayout();
// Min 200px per item for comfortable cards, max 3 columns
const columns = getColumns(200, 3);
const gap = 16;
const products = [...]; // Your product data
return (
{/* Header */}
Products{products.length} items
{/* Responsive Grid */}
{products.map((product) => (
))}
);
}
```
--------------------------------
### Install @frosted-ui/react-native with npm/yarn/pnpm
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/README.md
Installs the @frosted-ui/react-native package and its peer dependencies using npm, yarn, or pnpm. Ensure you have the necessary build tools and Node.js environment set up.
```bash
npm install @frosted-ui/react-native
# or
yarn add @frosted-ui/react-native
# or
pnpm add @frosted-ui/react-native
```
--------------------------------
### Frosted UI Background Color Examples
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COLOR_SYSTEM.md
Provides examples of how to apply background colors using the Frosted UI color system. It demonstrates usage for main app backgrounds, subtle section backgrounds, and card backgrounds.
```typescript
// Main app background
backgroundColor: colors.background; // Uses white in light mode and gray['1'] in dark mode
// Subtle colored background for a section
backgroundColor: gray['2']; // or palette['2']
// Card with subtle tint
backgroundColor: palette.a2;
```
--------------------------------
### Run Development Server with Yarn
Source: https://github.com/whopio/frosted-ui/blob/main/apps/tailwind/README.md
Initiates the development server for the Frosted UI project using Yarn. This command is essential for local development and testing. It requires Yarn to be installed and configured for the project.
```bash
yarn dev
```
--------------------------------
### Basic App Usage with @frosted-ui/react-native
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/README.md
Demonstrates the basic usage of the @frosted-ui/react-native library by rendering a Button within a ThemeProvider. This example showcases importing components and applying basic styling.
```tsx
import { Button, Text, ThemeProvider } from '@frosted-ui/react-native';
export default function App() {
return (
);
}
```
--------------------------------
### Example Usage of useColorForEmoji Hook
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui/scripts/emoji-colors/IMPLEMENTATION.md
Demonstrates practical usage of the `useColorForEmoji` React hook. It shows how to import the hook and use it within a component to dynamically apply a color based on an emoji prop. This example illustrates a common use case for the hook.
```typescript
import React from 'react';
import { useColorForEmoji, ColorScale } from 'frosted-ui';
// Mock Badge component for demonstration
const Badge: React.FC<{ color: ColorScale; children: React.ReactNode }> = (
{ color, children }
) => (
{children}
);
interface MyComponentProps {
emoji: string;
}
function EmojiDisplay({ emoji }: MyComponentProps) {
const color = useColorForEmoji(emoji);
// If color is undefined (e.g., emoji not in map or invalid input),
// you might want a fallback.
if (!color) {
return {emoji};
}
return {emoji};
}
// Example usage within another component:
function App() {
return (
);
}
export default App;
```
--------------------------------
### Install React Native Peer Dependencies
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/README.md
Installs essential peer dependencies required for @frosted-ui/react-native to function correctly. This includes core React Native libraries and specific packages for animation, layout, and SVG support.
```bash
npm install react react-native react-native-reanimated react-native-safe-area-context react-native-screens react-native-svg lucide-react-native
# or
yarn add react react-native react-native-reanimated react-native-safe-area-context react-native-screens react-native-svg lucide-react-native
# or
pnpm add react react-native react-native-reanimated react-native-safe-area-context react-native-screens react-native-svg lucide-react-native
```
--------------------------------
### ThemeProvider Configuration Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COLOR_SYSTEM.md
Shows how to configure the application's theme colors using the `ThemeProvider` component. This includes setting custom colors for 'accent', 'danger', 'warning', 'success', and 'info'.
```tsx
```
--------------------------------
### Ghost Card - Section Container Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Demonstrates the 'ghost' variant of the Card component, used for layout grouping without a visual container. This example shows a section header with a title and 'See All' button, followed by a nested 'surface' card displaying recent activity items.
```tsx
{/* Section header */}
Recent Activity
{/* Content in a surface card (has overflow: hidden for separators) */}
{items.map((item, index, arr) => (
({
flexDirection: 'row',
alignItems: 'center',
gap: 12,
paddingHorizontal: 16,
paddingVertical: 14,
backgroundColor: pressed ? colors.palettes.gray.a3 : 'transparent',
})}>
{item.name}
{item.action}
{item.time}
{index < arr.length - 1 && }
))}
```
--------------------------------
### API Route Example in Next.js
Source: https://github.com/whopio/frosted-ui/blob/main/apps/tailwind/README.md
Demonstrates a basic API route handler within a Next.js application. This code resides in `pages/api/hello.js` and is accessible via HTTP requests to `/api/hello`. It showcases the structure for creating serverless API endpoints.
```javascript
export default function handler(req, res) {
res.status(200).json({ name: 'John Doe' });
}
```
--------------------------------
### Callout Component Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/TYPOGRAPHY.md
Demonstrates how to use the Callout component to display informational messages. The Text component within Callout automatically inherits styling.
```tsx
import { Callout, Text } from '@frosted-ui/react-native';
// ✅ Text inherits callout's color and size
This text is automatically styled;
```
--------------------------------
### React Native Hybrid Screen Layout Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
A `HybridScreen` component demonstrating a layout strategy for screens with both full-width and constrained content sections. It uses `useAdaptiveLayout` to control responsiveness and conditionally applies styles for different sections, such as a full-width hero banner and a constrained content area with adaptive grids and multi-column layouts.
```tsx
function HybridScreen() {
const { colors } = useThemeTokens();
const { isDesktop, padding, getColumns } = useAdaptiveLayout();
const maxContentWidth = 800;
return (
{/* Full-width hero/banner */}
Welcome BackYour dashboard overview
{/* Constrained content area */}
{/* Stats Grid - adapts columns */}
{stats.map((stat) => (
))}
{/* Two-column layout on desktop */}
Recent Activity
{/* Activity list */}
Quick Actions
{/* Actions */}
);
}
```
--------------------------------
### Settings List Example with Icon and Switch (TSX)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COMPONENTS.md
Demonstrates a settings list item with an icon on the left, a title in the middle, and a switch component on the right for controlling a setting. This pattern is useful for toggling features or preferences.
```tsx
Notifications
```
--------------------------------
### Settings with Slider Controls (React TSX)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
This example shows how to implement settings that require numerical value selection, such as brightness or volume, using Frosted UI's Slider component. It displays the current value next to the setting label and uses a Slider for user input. Key patterns include displaying the value as a percentage and using colored icons that match the slider's color.
```tsx
const [brightness, setBrightness] = React.useState(75);
const [volume, setVolume] = React.useState(80);
Display Settings
{/* Brightness */}
Brightness
{brightness}%
{/* Volume */}
Volume
{volume}%
```
--------------------------------
### Settings List with Toggles and Checkboxes (React TSX)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
This snippet demonstrates creating a settings list using Frosted UI's List component. It includes examples of a switch for enabling/disabling features and a checkbox for a boolean option. It utilizes List.Root, List.Item, List.ItemSlot, List.ItemContent, List.ItemTitle, List.Separator, Switch, and Checkbox components.
```tsx
{/* Switch setting */}
Notifications
{/* Pressable setting with checkbox */}
setDarkMode(!darkMode)}>
Dark Mode
```
--------------------------------
### Icon Styling with Frosted UI Colors (React)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Demonstrates how to apply colors to standalone icons using Frosted UI's color palettes. It shows examples for neutral gray, semantic danger red, and custom colored icons using `palette.a11` for better light/dark mode adaptability. Requires Frosted UI's Icon and View components, along with color definitions.
```tsx
// Gray icons (neutral)
// Colored icons (e.g., in icon boxes)
// Semantic icons
```
--------------------------------
### List with RadioGroup for Shipping Options (React TSX)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
This snippet demonstrates how to create a list of selectable shipping options using Frosted UI's RadioGroup and List components. Each item in the list is associated with a radio button, allowing users to select one option. The example maps over an array of options to dynamically render the list items, including icons, names, delivery times, and prices.
```tsx
{options.map((option, index) => (
{index > 0 && }
setSelected(option.id)}>
{option.name}{option.time}
{option.price}
))}
```
--------------------------------
### Install and Configure Frosted UI Theme
Source: https://context7.com/whopio/frosted-ui/llms.txt
This snippet shows how to install the frosted-ui package and configure the global theme for a React application. It involves importing the global styles and wrapping the application with the Theme component, which accepts various props for appearance, colors, and background.
```tsx
// Install the package
// pnpm add frosted-ui
// Import global styles in your root component or _app.tsx
import 'frosted-ui/styles.css';
// Wrap your application with the Theme component
import { Theme } from 'frosted-ui';
export default function App({ children }) {
return (
{children}
);
}
// The Theme component supports the following props:
// - appearance: 'light' | 'dark' | 'inherit' (defaults to system preference)
// - accentColor: primary brand color (e.g., 'indigo', 'blue', 'violet')
// - grayColor: neutral color palette (e.g., 'slate', 'gray', 'mauve')
// - infoColor, successColor, warningColor, dangerColor: semantic colors
// - hasBackground: boolean to apply background color to body
```
--------------------------------
### Frosted UI Interactive Component Background Examples
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COLOR_SYSTEM.md
Illustrates how to set background colors for interactive UI components in Frosted UI, considering default, hover, and selected states. It emphasizes the use of steps 3-5 from the color palette.
```typescript
// Interactive list item
const listItemStyle = {
backgroundColor: isSelected
? palette.a5 // Selected
: isHovered
? palette.a4 // Hover
: palette.a3, // Default
};
// If component has transparent default state, use 3 for hover
const ghostButtonHover = {
backgroundColor: isHovered ? palette.a3 : 'transparent',
};
```
--------------------------------
### Simple Component: Button Usage
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COMPONENTS.md
Example of using the Frosted UI `Button` component. It shows how to apply variants, sizes, colors, and handle press events. Child `` components receive automatic styling.
```tsx
```
--------------------------------
### Section with Header and Action Button (React Native)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Illustrates how to create a section with a title, an optional 'See All' button, and a content area for cards. It utilizes flexbox for alignment and spacing.
```tsx
Section Title{/* Section content */}
```
--------------------------------
### Button Component Examples (React/TSX)
Source: https://context7.com/whopio/frosted-ui/llms.txt
Demonstrates the usage of the Button component from 'frosted-ui'. It showcases different variants, sizes, colors, and states like disabled and loading. The component is interactive and can be customized extensively.
```tsx
import { Button } from 'frosted-ui';
function ButtonExamples() {
return (
{/* High contrast mode */}
{/* Disabled state */}
{/* Loading state with custom content */}
);
}
```
--------------------------------
### DropdownMenu Component Examples (React/TypeScript)
Source: https://context7.com/whopio/frosted-ui/llms.txt
Demonstrates various ways to use the DropdownMenu component, including basic options, checkbox and radio group selections, submenus, and styling customizations. Requires 'frosted-ui' and '@radix-ui/react-icons'.
```tsx
import { DropdownMenu, Button } from 'frosted-ui';
import { DotsVerticalIcon } from '@radix-ui/react-icons';
function DropdownMenuExamples() {
const [bookmarked, setBookmarked] = React.useState(false);
const [view, setView] = React.useState('grid');
return (
{/* Basic dropdown menu */}
console.log('New Tab')}>
New Tab
console.log('New Window')}>
New Window
console.log('Delete')}>
Delete
{/* Menu with checkbox items */}
Preferences
Bookmarked
Show Toolbar
{/* Menu with radio group */}
Grid View
List View
Column View
{/* Menu with submenu */}
New FileOpen...Recent Filesdocument.pdfimage.pngnotes.txtSave
{/* Size and variant customization */}
Small Item 1Small Item 2
);
}
```
--------------------------------
### Surface Card - Message Example
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
Demonstrates the default 'surface' variant of the Card component, suitable for elevated content like user messages. It includes an avatar, sender information, timestamp, and message content.
```tsx
Sarah Johnson
2m ago
Hey! Just finished the design review. The new dashboard looks amazing! 🎉
```
--------------------------------
### Action Pair Buttons (React Native)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
A common UI pattern for presenting two related actions, typically a primary and a secondary action, side-by-side. This example demonstrates using two buttons with different variants ('soft' and 'solid') that take up equal space within a horizontal layout.
```tsx
```
--------------------------------
### Tailwind CSS Configuration with Frosted UI Plugin
Source: https://context7.com/whopio/frosted-ui/llms.txt
Configures Tailwind CSS to use the `frosted-theme-plugin`. This setup enables access to Frosted UI's design tokens (colors, typography, etc.) through Tailwind's utility classes. Ensure 'frosted-ui' is installed as a dependency.
```tsx
// tailwind.config.js
import { frostedThemePlugin } from 'frosted-ui';
export default {
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/frosted-ui/**/*.js',
],
plugins: [
frostedThemePlugin(),
],
};
```
--------------------------------
### Inline Action Buttons (React Native)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
A pattern for embedding less prominent actions directly within content, often alongside icons. This example shows 'ghost' variant buttons used for actions like 'Like', 'Comment', and 'Share', suitable for social media feeds or content engagement sections.
```tsx
```
--------------------------------
### Frosted UI List Variants (React TSX)
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
This example showcases the different visual variants available for the Frosted UI List.Root component. By applying the `variant` prop, developers can change the list's appearance to match different UI contexts, such as 'surface' for a bordered and elevated look, 'soft' for a subtle background, and 'ghost' for a minimal style.
```tsx
// Default surface style (bordered, elevated)
...
// Soft background for highlighted lists
...
// Ghost for minimal style
...
```
--------------------------------
### Show Skeleton Loading for Content Placeholders
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/DESIGN_PATTERNS.md
This code illustrates how to implement skeleton loading to provide a perceived performance improvement while data is being fetched. It conditionally renders skeleton components (Avatar, Text) or actual content based on the `isLoading` state.
```tsx
{
isLoading ? (
) : (
{user.name}
{user.email}
);
}
```
--------------------------------
### Dialog Component Examples (React)
Source: https://context7.com/whopio/frosted-ui/llms.txt
Shows how to implement the Dialog component for modal dialogs with customizable content. It covers basic usage, size variants, and controlled dialogs with custom portal containers. Requires React and the Button and Flex components from frosted-ui.
```tsx
import { Dialog, Button, Flex } from 'frosted-ui';
function DialogExamples() {
const [open, setOpen] = React.useState(false);
return (
{/* Basic dialog */}
Edit Profile
Make changes to your profile here. Click save when you're done.
{/* Size variants: 1, 2, 3, 4 */}
Small Dialog
This is a small dialog with compact spacing.
{/* Controlled dialog with custom container */}
Controlled Dialog
This dialog's open state is controlled externally.
);
}
```
--------------------------------
### Frosted UI Theme System Configuration and Usage
Source: https://context7.com/whopio/frosted-ui/llms.txt
Demonstrates how to configure nested themes with different appearances and how to utilize the useThemeContext hook to access and manipulate theme properties within React components. Includes examples for dynamic theme switching and using ReversedTheme for inverted color schemes.
```tsx
import { Theme, useThemeContext } from 'frosted-ui';
// Nested themes with different appearances
function NestedThemeExample() {
return (
Light Mode Content
This section is dark mode
Nested themes allow different color schemes in the same page
);
}
// Access theme context in your components
function ThemeAwareComponent() {
const theme = useThemeContext();
return (
Current appearance: {theme.appearance}
Accent color: {theme.accentColor}
Gray color: {theme.grayColor}
);
}
// ReversedTheme component for inverted color schemes
import { ReversedTheme } from 'frosted-ui';
function InvertedSection() {
return (
This section has the opposite appearance of its parent
);
}
```
--------------------------------
### Import and Use Icons in React
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-icons/README.md
Demonstrates how to import specific icons (e.g., Shop16, Shop20) from the '@frosted-ui/icons' package and render them as React components. Each icon is available in different sizes.
```tsx
import { Shop16, Shop20 } from '@frosted-ui/icons';
function MyComponent() {
return (
);
}
```
--------------------------------
### Text Handling: Components Styling Children via Context
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COMPONENTS.md
Illustrates how components like `Button`, `IconButton`, and `Badge` style their children via context. Explicit `` and `` components must be used as direct children for proper styling.
```tsx
// ✅ Correct - Text/Icon auto-styled by parent
Active
```
--------------------------------
### Custom Range Slider Example in React
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COMPONENTS.md
Shows how to customize the Slider component's range and step for specific use cases, such as controlling playback speed. This example highlights setting custom min, max, step, and color props.
```tsx
{
/* Playback speed: 0.5x to 2.0x */
}
;
```
--------------------------------
### Theme Management with useTheme
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/README.md
Illustrates how to manage and toggle themes (e.g., light/dark mode) in a React Native application using the `ThemeProvider` and `useTheme` hook from @frosted-ui/react-native. This allows dynamic theme switching based on user interaction.
```tsx
import { ThemeProvider, useTheme } from '@frosted-ui/react-native';
function MyComponent() {
const { colorScheme, toggleColorScheme } = useTheme();
return (
);
}
export default function App() {
return (
);
}
```
--------------------------------
### Best Practice: Use '9-contrast' for Text on Solid Backgrounds
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COLOR_SYSTEM.md
Explains the use of the `palette['9-contrast']` token for text that appears on a solid background (e.g., `palette['9']`). This pairing ensures optimal readability by providing sufficient contrast.
```tsx
// ✅ Good: Ensures readable text on any solid color
Visible
```
--------------------------------
### Link Component for Text Links
Source: https://github.com/whopio/frosted-ui/blob/main/packages/frosted-ui-react-native/docs/llm/COMPONENTS.md
Provides examples of the Link component, which renders as a pressable text link. It supports customization of size, weight, color, and underline behavior. The examples show a standalone link and an inline link nested within a Text component, demonstrating automatic inheritance of text styles.
```tsx
navigation.navigate('Terms')}>Terms of Service
Read our {}}>Privacy Policy.
;
```