- Accordion
- Attachment
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Card
- Checkbox
- Code Block
- Collapsible
- Dialog
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Label
- Marker
- Message
- Number Flow
- Pagination
- Popover
- Progress
- Radio Group
- Select
- Slider
- Slot
- Sonner
- Spinner
- Switch
- Tooltip
- Separator
- Sheet
- Tabs
- Textarea
- Toggle
- Toggle Group
- Trace
Introduction
Copy-paste components for React web and Expo applications.
Frakment is a registry of editable React and React Native components that you add to your own project.
The web CLI installs web components, and its Expo mode installs the native components listed in the native catalog.
What is included
Message components provide layouts, bubbles, scrolling, and animated message primitives for web.
Compose traces, reasoning views, and tool output from the available web components.
Display formatted code with headers, copy actions, line numbers, and diffs.
Show loading, progress, and service status with web components.
Use the web registry in React projects and the Expo registry in React Native projects.
Use the MCP server and published skills to discover components and retrieve installation commands.
Installation
Web
Initialize Frakment in an existing React 19 and Tailwind CSS v4 project, then add a component:
$ bunx --bun frakment@latest init npx frakment@latest add button$ npx frakment@latest init npx frakment@latest add button$ pnpm dlx frakment@latest init npx frakment@latest add button$ yarn dlx frakment@latest init npx frakment@latest add button
The CLI requires Node.js 22.18.0 or newer.
Expo
Initialize Frakment in an existing Expo and NativeWind project, then add a native component:
$ bunx --bun frakment@latest init --expo npx frakment@latest add button --expo$ npx frakment@latest init --expo npx frakment@latest add button --expo$ pnpm dlx frakment@latest init --expo npx frakment@latest add button --expo$ yarn dlx frakment@latest init --expo npx frakment@latest add button --expo
See the native installation guide for Expo requirements and setup details.
Manual installation
Copy component source from its documentation page and follow the manual setup guide.
Motion
Web components that expose a motion prop use CSS transitions and respect the reduced-motion preference.
Native components use immediate state changes and do not expose the web motion prop.
See the animations guide for supported web behavior.
AI interface examples
AI Elements are UI compositions and examples, not model providers or backend services.
Connect the components to your own model, transport, and application logic.
Agent tools
The MCP server exposes registry search, component source, compositions, and CLI install commands.
The MCP server returns commands for the agent to use and does not write files into your project.
Frakment also publishes an LLM documentation index and agent skills.
Component catalog
| Category | Web | Native |
|---|---|---|
| Chat | Message | |
| Agent interfaces | Trace, Chain of Thought | |
| Code | Code Block | |
| Status | Marker, Spinner | |
| Layout | Item, Separator | Separator |
| Actions | Button, Badge | Button, Button Group |
| Forms and navigation | Browse all |
The registry currently contains 43 web entries and three native entries; these counts refer to registry entries, not individual component exports.
Browse the web components, AI Elements, or native components.
Next steps
- Installation: set up Frakment in your project.
- Theming: customize CSS variables and dark mode.
- Animations: configure supported web transitions.
- Components: browse the web registry.