# Fragments > Fragments is a desktop app where you design your React app in code instead of on a canvas. The canvas is your running app: point at anything, ask Claude Code or Codex for a change, and it lands in your code. Your components and design tokens become a design system contract the agent has to follow. A free beta for Mac and Windows. Local work is free; paid plans are coming soon. ## Start with the app - [Fragments desktop](https://www.usefragments.com): the main Fragments experience - [Download](https://www.usefragments.com/download): get the app for Mac or Windows - [Desktop guide](https://www.usefragments.com/docs/desktop): set up and use the app - [Desktop Checks](https://www.usefragments.com/docs/checks): review design drift in the app - [Claude Code and Codex plugin](https://www.usefragments.com/docs/agents): install the Fragments plugin so your coding agent checks its own UI work; no app needed - [Desktop troubleshooting](https://www.usefragments.com/docs/troubleshooting): recover from setup, server, agent, source, capture and Undo problems - [Pricing](https://www.usefragments.com/pricing): local features are free; paid plans are coming soon - [Blog](https://www.usefragments.com/blog): product and engineering posts; RSS at `/blog/feed.xml` The old `@usefragments/cli` package, its local MCP server (`mcp --stdio`) and the hosted Cloud MCP are retired; don't install or configure them. Design drift checks run in the Fragments desktop app. The React library also works on its own. Public packages use the npm scope `@usefragments/*`; the GitHub UI repository remains `fragments-sdk/ui`. ## Install the component library ```bash npm install @usefragments/ui ``` ```tsx import "@usefragments/ui/styles"; import { Button, Card, Field, Input, Theme } from "@usefragments/ui"; ``` React 18 or 19 is required. Advanced components have optional peers; install those only when using the integration. The package's styles entry loads prebuilt CSS, including tokens and component styles. Sass is optional: use `@use "@usefragments/ui/scss" with (...)` and load the prebuilt CSS before your configured Sass stylesheet. Use `Theme` to manage color mode and `ThemeScript` for the first paint in server-rendered apps. - [Install](https://www.usefragments.com/components/install): package setup, providers and theming - [Components](https://www.usefragments.com/components): current component APIs and usage - [Upgrade to v4](https://www.usefragments.com/components/upgrade): removed APIs and their replacements - [Accessibility](https://www.usefragments.com/components/accessibility): keyboard and accessibility guidance ## Packages and source - `@usefragments/ui`: React component library, MIT - `@usefragments/font`: Fragments Sans font files and CSS, OFL-1.1 - `@usefragments/workshop` and `@usefragments/codemod` are private workspace packages, not public npm installs - `@repo/*` packages are internal; do not invent public `@usefragments/*` equivalents - [Public UI source and issues](https://github.com/fragments-sdk/ui) - [Full AI reference](https://www.usefragments.com/llms-full.txt): generated component reference