# Pixels Design System: full docs and FAQ
> Plain-text copy of the Pixels documentation and FAQ for AI assistants and answer engines. Summary and links: https://pixelsds.com/llms.txt. Contact: hello@pixelsds.com
Every component page: https://pixelsds.com/llms-components.txt
# Frequently asked questions
### What is Pixels?
Pixels is a token-based design system for product teams. It includes 85 Figma components with 2,500 variants, 1,163 design tokens and 1,637 icons. Matching React components on npm and a live Storybook keep design and code the same.
Source: https://pixelsds.com/
### Who is Pixels for?
Pixels is for startups that want to launch fast and for enterprise teams that need one consistent UI. Designers use the Figma library. Developers use the tokens and components.
Source: https://pixelsds.com/
### What are design tokens?
Design tokens are named values for color, type, spacing, radius and shadow. You change a token once, and every component that uses it updates. Pixels exports its tokens from Figma with Tokens Studio.
Source: https://pixelsds.com/
### Does Pixels support Arabic and right-to-left?
Yes. Every component works in right-to-left layouts, and Pixels switches to an Arabic typeface in RTL mode. Icons and spacing flip where they should.
Source: https://pixelsds.com/
### Does Pixels support dark mode and more than one brand?
Yes. Pixels has light and dark themes, and its tokens are grouped into 7 collections with 13 modes. You can add a new brand by changing the brand tokens, without rebuilding components.
Source: https://pixelsds.com/
### How much does Pixels cost?
Pixels Pro Figma costs $79 as a one-time payment (₹6,599 in India, plus GST). AI Brand Customization is free with Pro Figma or Pro Figma + Storybook. Motion packs cost $19 each. See the pricing page for every plan.
Source: https://pixelsds.com/
### How do I start using Pixels in code?
Install the free React package from npm, then add one line to your stylesheet: Run npm install @pixelsds/react . Import @pixelsds/react/styles.css , or add @source for Tailwind CSS v4. Import components, for example import { Button } from '@pixelsds/react' . Pro buyers add their licence key to .npmrc and install @pixelsds-pro/react . See the installation guide .
Source: https://pixelsds.com/
### Can I buy one animation?
No. Motion is sold as full packs, so every animation in a segment matches in style and timing.
Source: https://pixelsds.com/motion
### What does the full licence change?
After a full licence sale, the pack is removed from the website and never sold again. People who bought the pack licence before that keep their licence; nobody new can buy it.
Source: https://pixelsds.com/motion
### How do I change colors?
Every animation reads one CSS variable. Set --c to your brand colour and the whole pack follows, in light or dark. The videos come in the pack colour; the code takes any colour.
Source: https://pixelsds.com/motion
### What format is the code?
Plain HTML and CSS with no libraries, plus a ready React component for each animation. It works in any framework, and the MP4 and WebM loops work in iOS and Android apps.
Source: https://pixelsds.com/motion
### How do the files arrive?
Right after payment we email you a zip with every animation as HTML and CSS, a React component, and MP4 and WebM loops, plus your invoice and licence.
Source: https://pixelsds.com/motion
### Is Pixels a subscription?
No. Each paid plan is a one-time payment in US dollars. The files you receive are yours to keep and use in your products.
Source: https://pixelsds.com/pricing
### Can I try Pixels before I buy?
Yes. Base Figma is free: open the file and start designing. The documentation and the Storybook preview are free to browse too, so you can check every component, block and token before you pay.
Source: https://pixelsds.com/pricing
### What do I receive with each plan?
Base Figma gives you core components, light theme tokens and styles for free. Pro Figma is the full Figma kit: 85 components with 2,500 variants, 1,163 light and dark variables, 1,637 icons, templates and blocks. Storybook is the Pro React package from npm (charts, blocks, patterns and templates), with one licence key per developer. Pro Figma + Storybook gives you both, for 1 developer, with priority support. Enterprise adds a custom brand theme, product-specific components and dedicated support.
Source: https://pixelsds.com/pricing
### Which plan is right for my team?
Designers: start with Base Figma, then move to Pro Figma when you need the full kit. Developers: Storybook, one licence key per developer. Teams that design and build: Pro Figma + Storybook. Choose Enterprise when you need Pixels shaped around your brand, with dedicated support and an SLA.
Source: https://pixelsds.com/pricing
### Can I upgrade later?
Yes. Contact us with your order details and we will move you to the larger plan. You only pay the difference in price. Need keys for more developers? Buy extra seats at $29 per developer.
Source: https://pixelsds.com/pricing
### How do I pay?
Click the plan button and pay securely in the Razorpay window. Customers in India pay in INR with a GST invoice and can use cards, UPI or netbanking. Everyone else pays in USD by card. As soon as your payment is verified we email your files and a PDF invoice.
Source: https://pixelsds.com/pricing
### How is AI Brand Customization different from these plans?
These plans give you the Pixels design system as it is. AI Brand Customization applies your brand color, font, corner radius and logo to it and delivers a branded version, at no extra cost. You pay only the plan price: $79 for Pro Figma or $99 for Pro Figma + Storybook.
Source: https://pixelsds.com/pricing
### What if I need help?
Email us through the contact page and a designer or product expert replies within 1 business day. Enterprise plans include dedicated support with an agreed response time (SLA).
Source: https://pixelsds.com/pricing
### Does Pixels support Arabic?
Yes. Every component in the Figma library and the React package mirrors when the page or frame is set to right-to-left, and Arabic text uses an Arabic typeface with taller line heights from the Locale tokens.
Source: https://pixelsds.com/rtl-design-system
### How does RTL work in React?
Set dir="rtl" and lang="ar" on the html element, or on any container. The Pixels React components use logical CSS properties (start and end instead of left and right), so padding, borders, alignment and directional icons swap on their own, and the keyboard follows the reading direction. In Figma, switch the Locale variable mode of a frame from en · LTR to ar · RTL.
Source: https://pixelsds.com/rtl-design-system
### Which Arabic font does Pixels use?
The React package and the Storybook use IBM Plex Sans Arabic for Arabic text, with taller line heights from the Locale tokens. You can change the family in one token.
Source: https://pixelsds.com/rtl-design-system
### Do icons and charts flip too?
Directional icons such as arrows and chevrons flip. Icons of real objects, logos, media controls and chart time axes do not, because they do not follow reading order.
Source: https://pixelsds.com/rtl-design-system
### Is RTL included in the free plan?
The free core React package and the Pro components both support right-to-left. The Pro Figma file includes the Locale collection with the en · LTR and ar · RTL modes.
Source: https://pixelsds.com/rtl-design-system
# Introduction
Source: https://pixelsds.com/docs/
## Introduction
Pixels is a design system with a matching Figma library and code library. Designers and developers use the same components, tokens and names.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable
Every component on this site is built from the Pixels Design System Figma file . The colors, spacing, radius, type and component tokens are exported from Figma variables, so a change in Figma becomes a change in code.
Installation npm install @pixelsds/react, or two CSS files.
Components 203 components with live previews and code.
Theming 1,163 tokens. Light, dark, RTL and density.
Storybook Every component and block live, with code, themes and RTL.
### Principles
- One source of truth. Figma variables generate pixels-tokens.css . Components only use tokens, never raw values.
- Plain HTML first. Components are classes on normal elements ( button , input , dialog ). They work with React, Vue, Angular, Svelte or no framework.
- Accessible by default. Real elements, visible focus, keyboard support and ARIA wiring are part of every component.
- Ready for every market. Every component mirrors in right-to-left layouts and switches to Arabic type with one attribute.
- Themeable. Light and dark color modes, three densities and a brand palette you can swap.
### What’s inside
| Part | File | What it does |
| Tokens | css/pixels-tokens.css | All Figma variables as CSS custom properties ( --px-* ). |
| Components | css/pixels-ui.css | Styles for every component, built only on tokens. |
| Behaviour | js/pixels-ui.js | Menus, selects, date picker, dialogs, tabs, toasts and more. 0 dependencies. |
| Figma library | Pixels Design System | The same components with variants, properties and descriptions. |
| React | @pixelsds/react on npm | The same components for React and Tailwind CSS v4. Pro parts in @pixelsds-pro/react . |
| Storybook | /explore/ | Every React component, pattern and template live, with its code. |
### How Figma maps to code
Figma component properties become classes or attributes. For example, the Figma Button with Hierarchy = Secondary gray , Size = lg and Destructive = True is:
HTML
```
```
Each component page lists its Figma properties next to the code API, so a designer and a developer can point at the same thing.
© 2026 Pixels
---
# AI tools
Source: https://pixelsds.com/docs/ai/
## AI tools
Pixels works with Claude Code, Cursor, Copilot, v0 and Lovable: an MCP server, a shadcn registry, rules files and every page as Markdown.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable
### Set up your project in one step
Run this in your app. It adds the Pixels rules for AI coding tools and connects the Pixels MCP server, without overwriting your files.
BASH
```
npx -y @pixelsds/mcp init
```
- AGENTS.md , CLAUDE.md , .cursor/rules/pixels.mdc , .github/copilot-instructions.md , .windsurfrules : use Pixels components and tokens, no hex colours, React Aria props, logical spacing for RTL.
- .mcp.json (Claude Code), .cursor/mcp.json (Cursor), .vscode/mcp.json (VS Code): the pixels MCP server.
The npm packages carry the same rules: node_modules/@pixelsds/react/AGENTS.md , plus pixels.manifest.json with every component's props and examples.
### MCP server
Add it by hand if you prefer:
JSON
```
{ "mcpServers": { "pixels": { "command": "npx", "args": ["-y", "@pixelsds/mcp"] } } }
```
Claude Code: claude mcp add pixels -- npx -y @pixelsds/mcp
| Tool | What it does |
| search_components | Find components, blocks, patterns and templates for a need |
| get_component | Props with types, allowed values and defaults, import line, Figma component, example code |
| get_tokens | Tokens with light and dark values and the Tailwind class |
| get_setup | Install, CSS import, dark mode, RTL, density, the Pro .npmrc |
| check_code | Checks code against the Pixels rules: hex colours, palette classes, left/right spacing, onClick on Button, raw HTML controls, unknown props |
| add_component | Writes a component's example files into your app and gives the install command |
Pro components: set PIXELS_LICENSE_KEY in the server's env . Search and docs work without a key.
### shadcn registry
Free items need no setup:
BASH
```
npx shadcn@latest add https://pixelsds.com/r/date-picker.json
```
For short names and Pro items, add the Pixels registries to components.json :
JSON
```
"registries": {
"@pixels": "https://pixelsds.com/r/{name}.json",
"@pixels-pro": {
"url": "https://pixelsds.com/api/r/{name}.json",
"headers": { "Authorization": "Bearer ${PIXELS_LICENSE_KEY}" }
}
}
```
BASH
```
npx shadcn@latest add @pixels/button @pixels-pro/finance-app
```
Each item adds its example files under components/pixels/ and installs @pixelsds/react (and @pixelsds-pro/react for Pro, which needs the .npmrc ). The components themselves stay in the npm package, so you keep getting fixes. The full list: registry.json .
### Figma Code Connect
Pixels Pro includes Code Connect templates for 36 components (Button, Input, Select, Tabs, Alert …) in @pixelsds-pro/react/code-connect . Publish them to your copy of the Pixels Figma library and Dev Mode shows real @pixelsds/react code with the right variant, size, label and state. Figma's MCP server then hands the same code to your AI tool.
- Import the Pro .fig and publish it as a library.
- Set your file's URL in code-connect/figma.config.json ( documentUrlSubstitutions ).
- npx figma connect publish --token (a Figma plan with Dev Mode and Code Connect).
### Pixels Figma plugin
Three tools that run inside Figma, with no network or account:
- Make RTL : Arabic Locale mode, Direction = RTL on Pixels components, right-aligned text and Arabic copy from the Pixels dictionary.
- Lint : finds hard-coded colours, unstyled text and detached components, and binds colours to the matching Pixels variable in one click.
- Brand theme : type a brand colour, get the 25–900 scale with an AA check, added as a mode of the Brand collection.
### Copy for AI, v0 and Lovable
Every docs page and every Storybook page has an AI menu: copy the page as Markdown, view it as Markdown, or open it in ChatGPT, Claude, v0 (free items) or Lovable with a prompt that points at the right docs.
### Machine-readable files
- /ai/rules.md : the rules for AI coding tools.
- /ai/manifest.json : every component with props, allowed values, defaults, tokens, Figma node and example code.
- /ai/index.json : a short list for search.
- /ai/tokens.json : every token with light, dark and mono values.
- /ai/components/ : one Markdown file per React component; /ai/docs/… has every docs page as Markdown.
- /llms.txt and /llms-full.txt .
All of them are built from the component source and the Figma tokens on every release, so they never drift from the code.
© 2026 Pixels
---
# Changelog
Source: https://pixelsds.com/docs/changelog/
## Changelog
What changed in the Pixels Design System.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable
### 2.2 · November 2026
- Packages 1.1.0. New: Multi Select (free); Reasoning, Tool Call, Agent Trace, Sources, Citation, Streaming Text and Query Builder (Pro).
- Presets in the Storybook colour bar: brand, corners and density in one click. The teal accent now works.
- Pixels Figma plugin: Make RTL, Lint and Brand theme. Figma Code Connect templates for 36 components in Pro.
- Story tests and an accessibility check (axe, WCAG 2.1 AA) on every Storybook page in CI.
- AI tools: the Pixels MCP server ( @pixelsds/mcp ), a shadcn registry, rules files for Claude Code, Cursor, Copilot and Windsurf, and every page as Markdown.
- Real TypeScript props in both packages: allowed values and defaults from the source.
- Copy for AI and Open in ChatGPT, Claude, v0 and Lovable on every docs and Storybook page.
### 2.1 · November 2026
- React packages on npm: @pixelsds/react (free) and @pixelsds-pro/react (Pro, with a licence key).
- New Storybook at /explore/ with patterns, templates, charts and an Arabic RTL switch.
- Pro licence keys by email, one per developer.
### 2.0 · October 2026
- New documentation site with live previews, code and Figma properties for 203 components.
- Tokens exported from Figma variables: 1,163 tokens across 7 collections.
- Dark mode, RTL/Arabic and three density modes.
- New components: Combobox, Date picker, Command palette, Drawer, Popover, Stepper, Stat, Skeleton.
- Hosted Storybook.
### 1.0 · 2025
- First release: buttons, inputs, toggles, cards, alerts, badges, tooltips, navigation, modals, dropdowns and tables. © 2026 Pixels
---
# Colors
Source: https://pixelsds.com/docs/colors/
## Colors
Primitive palettes and the semantic colors components use. Values shown for light and dark mode.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable
### Primitive palettes
Raw colors. Components never use these directly; they go through semantic tokens.
Blue Gray Amber Green Red Pink Purple Indigo Rose Lime
Click a swatch to copy its CSS variable.
### Content (text and icons)
| Token | Light | Dark | Alias |
| --px-color-content-brand-default | #2563eb | #71717a | color-brand-500 |
| --px-color-content-brand-hover | #1d4ed8 | #a1a1aa | color-brand-600 |
| --px-color-content-brand-pressed | #1e40af | #d4d4d8 | color-brand-700 |
| --px-color-content-neutral-primary | #101828 | #f4f4f5 | color-gray-900 |
| --px-color-content-neutral-tertiary | #667085 | #8d8d94 | color-gray-500 |
| --px-color-content-neutral-secondary | #475467 | #b4b4ba | color-gray-600 |
| --px-color-content-neutral-placeholder | #667085 | #8d8d94 | color-gray-500 |
| --px-color-content-danger-default | #b42318 | #fda29b | color-red-700 |
| --px-color-content-danger-hover | #912018 | #fecdca | color-red-800 |
| --px-color-content-danger-pressed | #7a271a | #fee4e2 | color-red-900 |
| --px-color-content-success-default | #027a48 | #32d583 | color-green-700 |
| --px-color-content-success-hover | #05603a | #6ce9a6 | color-green-800 |
| --px-color-content-warning-default | #b54708 | #fdb022 | color-amber-700 |
| --px-color-content-warning-hover | #93370d | #fec84b | color-amber-800 |
| --px-color-content-info-default | #1d4ed8 | #93c5fd | color-blue-600 |
| --px-color-content-info-hover | #1e40af | #bfdbfe | color-blue-700 |
| --px-color-content-accent-blue | #1e40af | #93c5fd | color-blue-700 |
| --px-color-content-accent-pink | #be195d | #f9a7d4 | color-pink-700 |
| --px-color-content-accent-purple | #7e22ce | #d8b4fe | color-purple-700 |
| --px-color-content-accent-indigo | #4338ca | #a5b4fd | color-indigo-700 |
| --px-color-content-accent-rose | #be133c | #fda4af | color-rose-700 |
| --px-color-content-accent-lime | #4d7c0f | #bef264 | color-lime-700 |
| --px-color-content-accent-green | #027a48 | #6ce9a6 | color-green-700 |
| --px-color-content-accent-red | #b42318 | #fda29b | color-red-700 |
| --px-color-content-accent-amber | #b54708 | #fec84b | color-amber-700 |
| --px-color-content-danger-disabled | #fda29b | #b42318 | color-red-300 |
| --px-color-content-neutral-disabled | #98a2b3 | #4b4b51 | color-gray-400 |
| --px-color-content-brand-disabled | #93c5fd | #18181b | color-brand-300 |
| --px-color-content-static-black | #000000 | #000000 | color-black |
| --px-color-content-on-color | #ffffff | #ffffff | color-white |
| --px-color-content-on-warning | #101828 | #161618 | color-gray-900 |
| --px-color-content-inverse | #ffffff | #161618 | color-white |
| --px-color-content-static-white | #ffffff | #ffffff | color-white |
| --px-color-content-link-default | #2563eb | #71717a | color-brand-500 |
| --px-color-content-link-visited | #7e22ce | #d8b4fe | color-purple-700 |
| --px-color-content-inverse-muted | #98a2b3 | #4b4b51 | color-gray-400 |
### Background
| Token | Light | Dark | Alias |
| --px-color-background-brand-default | #2563eb | #3f3f46 | color-brand-500 |
| --px-color-background-brand-hover | #1d4ed8 | #27272a | color-brand-600 |
| --px-color-background-brand-pressed | #1e40af | #18181b | color-brand-700 |
| --px-color-background-brand-subtle | #eff6ff | #09090b | color-brand-50 |
| --px-color-background-brand-subtle-hover | #dbeafe | #111113 | color-brand-100 |
| --px-color-background-brand-subtle-pressed | #bfdbfe | #18181b | color-brand-200 |
| --px-color-background-neutral-default | #f2f4f7 | #222225 | color-gray-100 |
| --px-color-background-neutral-hover | #eaecf0 | #323236 | color-gray-200 |
| --px-color-background-neutral-pressed | #d0d5dd | #4b4b51 | color-gray-300 |
| --px-color-background-neutral-bold | #98a2b3 | #6b6b72 | color-gray-400 |
| --px-color-background-neutral-bold-pressed | #667085 | #8d8d94 | color-gray-500 |
| --px-color-background-danger-default | #d92d20 | #d92d20 | color-red-600 |
| --px-color-background-danger-hover | #b42318 | #b42318 | color-red-700 |
| --px-color-background-danger-pressed | #912018 | #912018 | color-red-800 |
| --px-color-background-danger-subtle | #fef3f2 | #7a271a | color-red-50 |
| --px-color-background-success-default | #027a48 | #027a48 | color-green-700 |
| --px-color-background-success-hover | #05603a | #05603a | color-green-800 |
| --px-color-background-success-pressed | #054f31 | #054f31 | color-green-900 |
| --px-color-background-success-subtle | #ecfdf3 | #054f31 | color-green-50 |
| --px-color-background-warning-default | #f79009 | #fdb022 | color-amber-500 |
| --px-color-background-warning-hover | #fdb022 | #fec84b | color-amber-400 |
| --px-color-background-warning-pressed | #dc6803 | #f79009 | color-amber-600 |
| --px-color-background-warning-subtle | #fffaeb | #7a2e0e | color-amber-50 |
| --px-color-background-info-default | #1d4ed8 | #2563eb | color-blue-600 |
| --px-color-background-info-hover | #1e40af | #1d4ed8 | color-blue-700 |
| --px-color-background-info-pressed | #1e3a8a | #1e40af | color-blue-800 |
| --px-color-background-info-subtle | #eff6ff | #0f286f | color-blue-50 |
| --px-color-background-accent-blue | #2563eb | #60a5fa | color-blue-500 |
| --px-color-background-accent-pink | #ec4899 | #f471b7 | color-pink-500 |
| --px-color-background-accent-purple | #a855f7 | #c084fc | color-purple-500 |
| --px-color-background-accent-indigo | #6466f1 | #818cf8 | color-indigo-500 |
| --px-color-background-accent-rose | #f43f5f | #fb7185 | color-rose-500 |
| --px-color-background-accent-lime | #84cc16 | #a3e635 | color-lime-500 |
| --px-color-background-accent-green | #12b76a | #32d583 | color-green-500 |
| --px-color-background-accent-red | #f04438 | #f97066 | color-red-500 |
| --px-color-background-accent-amber | #fdb022 | #fdb022 | color-amber-400 |
| --px-color-background-danger-disabled | #fecdca | #912018 | color-red-200 |
| --px-color-background-neutral-disabled | #eaecf0 | #222225 | color-gray-200 |
| --px-color-background-brand-disabled | #bfdbfe | #111113 | color-brand-200 |
| --px-color-background-scrim | #00000080 | #000000b3 | color-alpha-black-50 |
| --px-color-background-static-black | #000000 | #000000 | color-black |
| --px-color-background-static-white | #ffffff | #ffffff | color-white |
| --px-color-background-gradient-brand-start | #f68b2e | #f68b2e | color-gradient-orange-100 |
| --px-color-background-gradient-brand-end | #f6bb5c | #f6bb5c | color-gradient-orange-200 |
| --px-color-background-gradient-accent-start | #fbd029 | #fbd029 | color-gradient-yellow-100 |
| --px-color-background-gradient-accent-mid | #eacc81 | #eacc81 | color-gradient-yellow-200 |
| --px-color-background-gradient-accent-end | #f0c966 | #f0c966 | color-gradient-yellow-300 |
| --px-color-background-danger-subtle-hover | #fee4e2 | #912018 | color-red-100 |
| --px-color-background-inverse-default | #101828 | #f4f4f5 | color-gray-900 |
| --px-color-background-inverse-hover | #1d2939 | #d4d4d8 | color-gray-800 |
| --px-color-background-inverse-pressed | #344054 | #b4b4ba | color-gray-700 |
| --px-color-background-danger-subtle-pressed | #fecdca | #b42318 | color-red-200 |
### Border
| Token | Light | Dark | Alias |
| --px-color-border-brand-default | #2563eb | #71717a | color-brand-500 |
| --px-color-border-brand-hover | #1d4ed8 | #a1a1aa | color-brand-600 |
| --px-color-border-focus | #2563eb | #71717a | color-brand-500 |
| --px-color-border-brand-pressed | #1e40af | #3f3f46 | color-brand-700 |
| --px-color-border-brand-subtle | #bfdbfe | #111113 | color-brand-200 |
| --px-color-border-neutral-default | #eaecf0 | #323236 | color-gray-200 |
| --px-color-border-neutral-hover | #d0d5dd | #4b4b51 | color-gray-300 |
| --px-color-border-neutral-subtle | #f2f4f7 | #222225 | color-gray-100 |
| --px-color-border-neutral-strong | #667085 | #8d8d94 | color-gray-500 |
| --px-color-border-neutral-bold | #344054 | #b4b4ba | color-gray-700 |
| --px-color-border-danger-default | #f04438 | #f97066 | color-red-500 |
| --px-color-border-danger-hover | #d92d20 | #fda29b | color-red-600 |
| --px-color-border-danger-pressed | #b42318 | #f04438 | color-red-700 |
| --px-color-border-danger-subtle | #fecdca | #912018 | color-red-200 |
| --px-color-border-success-default | #12b76a | #32d583 | color-green-500 |
| --px-color-border-success-hover | #039855 | #6ce9a6 | color-green-600 |
| --px-color-border-success-pressed | #027a48 | #12b76a | color-green-700 |
| --px-color-border-success-subtle | #a6f4c5 | #05603a | color-green-200 |
| --px-color-border-warning-default | #f79009 | #fdb022 | color-amber-500 |
| --px-color-border-warning-hover | #dc6803 | #fec84b | color-amber-600 |
| --px-color-border-warning-pressed | #b54708 | #f79009 | color-amber-700 |
| --px-color-border-warning-subtle | #fedf89 | #93370d | color-amber-200 |
| --px-color-border-info-default | #2563eb | #60a5fa | color-blue-500 |
| --px-color-border-info-hover | #1d4ed8 | #93c5fd | color-blue-600 |
| --px-color-border-info-pressed | #1e40af | #2563eb | color-blue-700 |
| --px-color-border-info-subtle | #bfdbfe | #1e3a8a | color-blue-200 |
| --px-color-border-accent-blue | #2563eb | #60a5fa | color-blue-500 |
| --px-color-border-accent-pink | #ec4899 | #f471b7 | color-pink-500 |
| --px-color-border-accent-purple | #a855f7 | #c084fc | color-purple-500 |
| --px-color-border-accent-indigo | #6466f1 | #818cf8 | color-indigo-500 |
| --px-color-border-accent-rose | #f43f5f | #fb7185 | color-rose-500 |
| --px-color-border-accent-lime | #84cc16 | #a3e635 | color-lime-500 |
| --px-color-border-accent-green | #039855 | #32d583 | color-green-600 |
| --px-color-border-danger-disabled | #fecdca | #7a271a | color-red-200 |
| --px-color-border-neutral-disabled | #d0d5dd | #222225 | color-gray-300 |
| --px-color-border-brand-disabled | #bfdbfe | #111113 | color-brand-200 |
| --px-color-border-static-black | #000000 | #000000 | color-black |
| --px-color-border-static-white | #ffffff | #ffffff | color-white |
| --px-color-border-on-color-subtle | #ffffff4d | #ffffff4d | color-alpha-white-30 |
### Surface
| Token | Light | Dark | Alias |
| --px-color-surface-default | #ffffff | #111112 | color-white |
| --px-color-surface-raised | #ffffff | #19191b | color-white |
| --px-color-surface-sunken | #f9fafb | #0b0b0c | color-gray-50 |
| --px-color-surface-overlay | #ffffff | #222225 | color-white |
| --px-color-surface-inverse | #101828 | #f4f4f5 | color-gray-900 |
### Shadow
| Token | Light | Dark | Alias |
| --px-color-shadow-xs | #0000000a | #00000033 | color-alpha-black-4 |
| --px-color-shadow-sm | #00000014 | #0000004d | color-alpha-black-8 |
| --px-color-shadow-md | #0000001f | #00000066 | color-alpha-black-12 |
| --px-color-shadow-lg | #00000029 | #00000080 | color-alpha-black-16 |
| --px-color-shadow-xl | #00000033 | #00000099 | color-alpha-black-20 |
| --px-color-shadow-2xl | #0000004d | #000000b3 | color-alpha-black-30 | © 2026 Pixels
---
# Figma
Source: https://pixelsds.com/docs/figma/
## Figma
The Figma library is the source of truth. Each component page links to its Figma component.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable
Open the Figma file
### File structure
- Foundation : Color, Typography, Grid & Spacing, Shadow & Effects, Icon.
- Guidelines : System and component guidelines.
- Components : 22 pages, 90+ component sets with variants for size, state, tone and LTR/RTL.
- Templates : Modal, Header, Footer and Pricing sections.
### Variables
Seven collections (Primitives, Brand, Color, Dimension, Locale, Density, Component). Every variable has a Web code syntax like var(--px-button-radius) , so Dev Mode shows the exact CSS variable you use here.
### Keeping code in sync
Tokens and the component list on this site are generated from the Figma file with node tools/build-tokens.js and node tools/build-docs.js . When a variable changes in Figma, re-export and rebuild.
© 2026 Pixels
---
# Icons
Source: https://pixelsds.com/docs/icons/
## Icons
Core UI icons in outline and filled styles, drawn on a 24px grid with a 1.75px stroke. Click an icon to copy its SVG.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable
No icons match your search.
### Usage
Paste the SVG inline. Icons use currentColor , so they take the text color of their parent. Give decorative icons aria-hidden="true" ; give icon-only buttons an aria-label .
HTML
```
```
### Right to left
Directional icons (arrows, chevrons, undo, send, external link) flip in RTL layouts. Add px-mirror to the icon, or use the component, which does it for you.
### Full library in Figma
The Figma file has the full set of 1,637 icons across every category. Open the Figma file
© 2026 Pixels
---
# Installation
Source: https://pixelsds.com/docs/installation/
## Installation
Pixels comes two ways: React components from npm (free, plus Pro with a licence key), or plain HTML and CSS with no build step.
Open with AI
View as Markdown Open in ChatGPT Open in Claude Open in Lovable React + Tailwind npm install @pixelsds/react Pro with a licence key Charts, patterns and templates Plain HTML and CSS Two CSS files and one script
### React: install the free package
Works with React 18.2+ and 19, in Vite, Next.js, Remix and any React app. npm 7+, pnpm and bun add the peer packages for you. Yarn (1 and 4) does not, so list them.
BASH
```
npm install @pixelsds/react
# yarn (1 and 4) does not add peer packages, so list them:
yarn add @pixelsds/react react-aria-components @internationalized/date recharts react-is
```
#### Or install it from the Pixels registry
The free package is also on our own registry at pixelsds.com/api/npm/ : the same files, no account and no key. Use it if npmjs.com is blocked at your company, or to try the newest version first.
BASH
```
# one time, no setup
npm install @pixelsds/react --@pixelsds:registry=https://pixelsds.com/api/npm/
# or for the whole project: .npmrc (only @pixelsds comes from Pixels, everything else from npmjs.com)
@pixelsds:registry=https://pixelsds.com/api/npm/
```
#### Try it in one minute
A fresh Vite app with Pixels, from an empty folder:
BASH
```
npm create vite@latest pixels-try -- --template react
cd pixels-try
npm install @pixelsds/react --@pixelsds:registry=https://pixelsds.com/api/npm/
echo "import '@pixelsds/react/styles.css';" | cat - src/main.jsx > src/m && mv src/m src/main.jsx
npm run dev
```
Then put a