Tac UIv1.1.2

llms.txt

Tac UI Native provides an llms.txt file — a machine-readable reference for LLM-powered coding assistants (Cursor, Copilot, Claude, etc.).

What is llms.txt?

llms.txt is a standardized file that helps AI coding assistants understand your library. It contains component APIs, prop tables, usage examples, and design token references in a format optimized for LLM context windows.

When an AI tool reads this file, it can generate accurate Tac UI Native code without hallucinating prop names, inventing non-existent APIs, or using web-specific patterns like Tailwind classes.

Location

The file is served as a static asset from the documentation site:

text
https://tac-ui.com/native/llms.txt

In the repository, it lives at:

text
apps/docs/public/llms-native.txt

What's Included

The llms.txt file covers:

installQuick start installation and TacNativeProvider setup
components20+ React Native components with props, variants, and usage examples
tokensDesign tokens — colors, spacing, radius, shadows accessible via useTacNativeTheme()
animationMotion constants — duration values and spring configs for Animated API
iconsIcon usage with @tac-ui/icon-native (lucide-react-native + TacLogo)

Usage with AI Tools

Most AI coding assistants automatically discover llms.txt when configured with your docs URL. You can also manually reference it:

markdown
# In Cursor rules or system prompt:
Refer to https://tac-ui.com/native/llms.txt for Tac UI Native component APIs.

# Or paste directly into context:
@llms.txt

Keeping it Updated

The llms.txt file should be updated whenever component APIs change — new props, renamed variants, or default value changes. It lives in apps/docs/public/llms-native.txt and is deployed with the documentation site.