# 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 ); } ``` Every component, pattern and template is in the Storybook with its code. Dark mode: . Right to left: plus React Aria's . ### Pro: install with your licence key Your Pixels purchase email has one licence key per developer (it starts with px_live_ ). Keep it secret: put it in an environment variable, never in a file you commit. - Save the key as PIXELS_LICENSE_KEY . - Add .npmrc to your project. It holds no key, so it is safe to commit. - Install the Pro package next to the free one. BASH ``` # 1. macOS / Linux (add to ~/.zshrc or ~/.bashrc to keep it) export PIXELS_LICENSE_KEY=px_live_your_key # Windows PowerShell: setx PIXELS_LICENSE_KEY px_live_your_key (then open a new terminal) ``` INI ``` # 2. .npmrc in your project root @pixelsds:registry=https://npm.pixelsds.com/ @pixelsds-pro:registry=https://npm.pixelsds.com/ //npm.pixelsds.com/:_authToken=${PIXELS_LICENSE_KEY} ``` BASH ``` # 3. install npm install @pixelsds/react @pixelsds-pro/react ``` CSS ``` /* Tailwind CSS v4 */ @import "tailwindcss"; @import "@pixelsds/react/tailwind.css"; @import "@pixelsds-pro/react/tailwind.css"; /* or, without Tailwind: import both ready-made files */ /* import '@pixelsds/react/styles.css'; import '@pixelsds-pro/react/styles.css'; */ ``` ### Package managers | Tool | Setup for Pro | | npm 7+ | The .npmrc above. | | pnpm | The same .npmrc . | | yarn 1 | The same .npmrc . Add the peer packages yourself (see above). | | yarn 2+ (Berry) | Yarn 2+ ignores .npmrc . Use the .yarnrc.yml below instead, and add the peer packages yourself. | | bun | The same .npmrc , or bunfig.toml : [install.scopes] "@pixelsds-pro" = { url = "https://npm.pixelsds.com/", token = "$PIXELS_LICENSE_KEY" } | YAML ``` # .yarnrc.yml (Yarn 2+). Holds no key, safe to commit. npmScopes: pixelsds: npmRegistryServer: "https://npm.pixelsds.com" pixelsds-pro: npmRegistryServer: "https://npm.pixelsds.com" npmAuthToken: "${PIXELS_LICENSE_KEY}" # Yarn 4 skips versions published in the last 24 hours. This line lets you install a Pixels release on the day it ships. npmPreapprovedPackages: ["@pixelsds/*", "@pixelsds-pro/*"] ``` ### Frameworks - Next.js App Router: works as is. Every component ships as a client component ( 'use client' ), so you can import it in a server page. - Next.js 16 with cacheComponents : date pickers, calendars and the meeting scheduler read today's date, so wrap them in . - TypeScript: types are included. Every prop is optional. - Monorepos: put .npmrc at the root; every app with Tailwind needs the @import lines in its own CSS. - React Native and Expo: not supported (the components need the browser DOM). ### CI and deploy Builds on servers need the key too. Add PIXELS_LICENSE_KEY as a secret, never in the code. - Vercel, Netlify, Cloudflare Pages: Project settings → Environment variables → PIXELS_LICENSE_KEY , available at build time. - GitHub Actions: Settings → Secrets → PIXELS_LICENSE_KEY , then env: PIXELS_LICENSE_KEY: ${{ secrets.PIXELS_LICENSE_KEY }} on the install step. Pull requests from forks can't read secrets, so their install fails. - Docker: pass the key as a build secret so it never lands in an image layer. DOCKERFILE ``` # Dockerfile RUN --mount=type=secret,id=pixels,env=PIXELS_LICENSE_KEY npm ci # build docker build --secret id=pixels,env=PIXELS_LICENSE_KEY . ``` ### If the install fails | The error says | Fix | | No licence key sent (E403), or Failed to replace env in config: ${PIXELS_LICENSE_KEY} (pnpm, yarn 1) | Set PIXELS_LICENSE_KEY in this terminal or CI, then try again. | | pnpm or bun: 403 or 401 with no reason | Run npm view @pixelsds-pro/react version in the same folder. npm reads the same .npmrc and prints the reason, for example a typo in the key. | | Licence key not found | Check for a typo or a space. Use “Email my files again” on your receipt to get the key again. | | This licence key was replaced | Support gave you a new key (for example after a leak). Use the newest key. | | This licence is not active | The order was refunded. Write to us if that's a mistake. | | 404 for @pixelsds-pro/react | The scope line is missing from .npmrc , so npm asked npmjs.com. Add both lines. | | This demo key ended on … | Your demo has finished. Buy a licence to keep using Pro, or ask us to extend the demo. | | Failed to resolve import "react-aria-components" (or recharts , @internationalized/date ) | Your package manager did not add the peer packages (yarn 1 and 4, or pnpm with auto-install-peers=false ). Run npm install react-aria-components @internationalized/date recharts react-is with your tool. | | Yarn 4: The version for tag "latest" is quarantined | Yarn 4 skips versions less than a day old. Add the npmPreapprovedPackages line from the .yarnrc.yml above. | | Yarn 2+: 404 or 401 with a correct .npmrc | Yarn 2+ does not read .npmrc . Use .yarnrc.yml . | | Styles missing, plain buttons | Add the @import line (Tailwind) or the styles.css import. | Leaked a key? Write to hello@pixelsds.com : we switch it off and email a new one. ### Plain HTML and CSS No build step. Download the files from this site (or copy them into your project) and link them in your page head: HTML ``` ``` pixels-tokens.css Tokens from Figma pixels-ui.css Component styles pixels-ui.js Behaviour, 0 deps ### Add the font Pixels uses Poppins for Latin scripts and switches to an Arabic face in RTL mode. HTML ``` ``` ### Scope the styles Add px-ui to (or any wrapper) to set the font, text color and box sizing for everything inside. HTML ``` ``` ### Icons Examples use 24×24 stroke icons with class="px-icon" . Any stroke set works (the Figma file uses a matching set). Code samples shorten the SVG paths to … ; the Copy button copies the full markup. © 2026 Pixels --- # Adtech campaigns App Screen for React and Figma Source: https://pixelsds.com/docs/pages/adtech-app/ ## Adtech campaigns Pro An app template from the Pixels Figma file: kPIs, pacing, channel mix, campaigns and creatives. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { AdtechCampaigns } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # AI assistant App Screen for React and Figma Source: https://pixelsds.com/docs/pages/assistant-app/ ## AI assistant Pro An app template from the Pixels Figma file: chat history, assistant thread and insights. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { AIAssistant } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Checkout App Screen for React and Figma Source: https://pixelsds.com/docs/pages/checkout-app/ ## Checkout Pro An app template from the Pixels Figma file: checkout form, order summary and tracking. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Checkout } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Finance app App Screen for React and Figma Source: https://pixelsds.com/docs/pages/finance-app/ ## Finance app Pro An app template from the Pixels Figma file: balances, cash flow, cards, bills and markets. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { FinanceApp } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Finance mobile App Screen for React and Figma Source: https://pixelsds.com/docs/pages/finance-mobile/ ## Finance mobile Pro An app template from the Pixels Figma file: wallet home: card, stats and activity. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { FinanceMobile } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Clinician App Screen for React and Figma Source: https://pixelsds.com/docs/pages/healthcare-app/ ## Clinician Pro An app template from the Pixels Figma file: vitals, patient, appointments, labs and meds. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Clinician } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Health mobile App Screen for React and Figma Source: https://pixelsds.com/docs/pages/healthcare-mobile/ ## Health mobile Pro An app template from the Pixels Figma file: vitals and medication schedule on mobile. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { HealthMobile } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # HR people App Screen for React and Figma Source: https://pixelsds.com/docs/pages/hr-app/ ## HR people Pro An app template from the Pixels Figma file: kPIs, directory, time off, hiring and headcount. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { HRPeople } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Pages Source: https://pixelsds.com/docs/pages/ ## Pages Pro Complete app and website pages, desktop and mobile, in light, dark and right-to-left. Live in the Storybook, React + Tailwind, with the matching Figma frames. Landing page An app template from the Pixels Figma file: hero, logos, features, pricing, FAQ and footer. Storefront An app template from the Pixels Figma file: navigation, categories, products and footer. Checkout An app template from the Pixels Figma file: checkout form, order summary and tracking. Finance app An app template from the Pixels Figma file: balances, cash flow, cards, bills and markets. Clinician An app template from the Pixels Figma file: vitals, patient, appointments, labs and meds. HR people An app template from the Pixels Figma file: kPIs, directory, time off, hiring and headcount. Projects board An app template from the Pixels Figma file: kanban, roadmap, workload, projects and calendar. Adtech campaigns An app template from the Pixels Figma file: kPIs, pacing, channel mix, campaigns and creatives. AI assistant An app template from the Pixels Figma file: chat history, assistant thread and insights. Finance mobile An app template from the Pixels Figma file: wallet home: card, stats and activity. Health mobile An app template from the Pixels Figma file: vitals and medication schedule on mobile. --- # Landing page App Screen for React and Figma Source: https://pixelsds.com/docs/pages/landing-page/ ## Landing page Pro An app template from the Pixels Figma file: hero, logos, features, pricing, FAQ and footer. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { LandingPage } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Projects board App Screen for React and Figma Source: https://pixelsds.com/docs/pages/projects-app/ ## Projects board Pro An app template from the Pixels Figma file: kanban, roadmap, workload, projects and calendar. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { ProjectsBoard } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Storefront App Screen for React and Figma Source: https://pixelsds.com/docs/pages/storefront-app/ ## Storefront Pro An app template from the Pixels Figma file: navigation, categories, products and footer. Assembled from the industry blocks. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Storefront } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Empty state UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/empty-projects/ ## Empty state Pro An empty list that explains why it is empty and offers next steps. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { EmptyState } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Filters bar UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/filters-bar/ ## Filters bar Pro Search, filter selects, active filter chips and a clear action above a list. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { FiltersBar } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Patterns Source: https://pixelsds.com/docs/patterns/ ## Patterns Pro Ready-made sections built from the components: sign in, pricing, settings, notifications and more. Live in the Storybook, React + Tailwind, with the matching Figma frames. Sign in A split sign-in screen: a brand panel with a quote on one side, the auth card on the other. Stats overview A dashboard header with a period switch and export, a KPI row and a revenue chart. Filters bar Search, filter selects, active filter chips and a clear action above a list. Profile settings Profile settings with tabs, avatar upload, two-column form rows and preference switches. Empty state An empty list that explains why it is empty and offers next steps. Loading states Skeleton cards, a busy button and the orbiting loader for work in progress. Notification center A tabbed inbox with unread dots, avatars and inline accept and decline actions. Pricing plans Three plan cards with a highlighted tier, features and a call to action. Customers table A table page: title, export action and the data table with search, sort and pagination. --- # Loading states UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/loading-states/ ## Loading states Pro Skeleton cards, a busy button and the orbiting loader for work in progress. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { LoadingStates } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Notification center UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/notification-center/ ## Notification center Pro A tabbed inbox with unread dots, avatars and inline accept and decline actions. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { NotificationCenter } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Pricing plans UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/pricing-plans/ ## Pricing plans Pro Three plan cards with a highlighted tier, features and a call to action. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { PricingPlans } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Profile settings UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/settings-profile/ ## Profile settings Pro Profile settings with tabs, avatar upload, two-column form rows and preference switches. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { ProfileSettings } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Sign in UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/sign-in-split/ ## Sign in Pro A split sign-in screen: a brand panel with a quote on one side, the auth card on the other. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { SignIn } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Stats overview UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/stats-overview/ ## Stats overview Pro A dashboard header with a period switch and export, a KPI row and a revenue chart. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { StatsOverview } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Customers table UI Pattern for React and Figma Source: https://pixelsds.com/docs/patterns/team-members/ ## Customers table Pro A table page: title, export action and the data table with search, sort and pagination. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { CustomersTable } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Spacing, radius & shadow Source: https://pixelsds.com/docs/spacing/ ## Spacing, radius & shadow A 4px spacing scale, a radius scale and five elevations. Open with AI View as Markdown Open in ChatGPT Open in Claude Open in Lovable ### Spacing | Token | Value | | | --px-spacing-xs | 4px | | | --px-spacing-sm | 8px | | | --px-spacing-md | 12px | | | --px-spacing-lg | 16px | | | --px-spacing-xl | 20px | | | --px-spacing-2xl | 24px | | | --px-spacing-3xl | 28px | | | --px-spacing-4xl | 32px | | | --px-spacing-5xl | 36px | | | --px-spacing-6xl | 40px | | | --px-spacing-7xl | 44px | | | --px-spacing-8xl | 48px | | ### Radius none 0px xs 2px sm 4px md 8px lg 12px xl 16px 2xl 20px 3xl 24px full 999px ### Shadow --px-shadow-xs --px-shadow-sm --px-shadow-md --px-shadow-lg --px-shadow-xl --px-shadow-2xl ### Control heights | Token | Default | Compact | Comfortable | | --px-control-height-sm | 32px | 28px | 36px | | --px-control-height-md | 40px | 32px | 44px | | --px-control-height-lg | 48px | 40px | 52px | | --px-control-padding-x-sm | 12px | 8px | 16px | | --px-control-padding-x-md | 16px | 12px | 20px | | --px-control-padding-x-lg | 20px | 16px | 24px | | --px-control-gap | 8px | 4px | 12px | | --px-size-touch-target-min | 44px | 44px | 44px | | --px-control-height-xl | 56px | 48px | 60px | | --px-control-padding-x-xl | 24px | 20px | 28px | © 2026 Pixels --- # Storybook Source: https://pixelsds.com/docs/storybook/ ## Storybook Every React component, pattern and template live, with its code, light and dark, LTR and RTL. Open with AI View as Markdown Open in ChatGPT Open in Claude Open in Lovable Open the Pixels Storybook ### Pixels Storybook The Storybook at /explore/ is built with React 19, Tailwind CSS v4 and React Aria, from the same code as the npm packages. Pick an accent color at the bottom and every component follows; switch light and dark in the header. ### What’s in it - Base components, blocks and charts, each with examples and their code. - Patterns and full-screen templates, with a desktop, tablet and phone switch. - An RTL switch on every preview that changes the direction, the text and the font to Arabic. ### Code The Code tab shows how to use each part from npm. Free parts come from @pixelsds/react ; Pro parts come from @pixelsds-pro/react , which installs with your licence key. See Installation . © 2026 Pixels --- # AI chat Template for React and Figma Source: https://pixelsds.com/docs/templates/ai-chat/ ## AI chat Pro An AI chat screen: recent chats, a thread with an agent run and thinking state, and the composer. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { AIChat } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Analytics Template for React and Figma Source: https://pixelsds.com/docs/templates/analytics-dashboard/ ## Analytics Pro An analytics screen: KPI row, sign-up funnel, earnings bars, revenue against last year and monthly orders. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Analytics } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Customers Template for React and Figma Source: https://pixelsds.com/docs/templates/customers-crm/ ## Customers Pro A customers screen with search, filter selects, active filter chips and the data table. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Customers } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Finance Template for React and Figma Source: https://pixelsds.com/docs/templates/finance-dashboard/ ## Finance Pro A finance screen: KPI row, visitors line, goal gauge, traffic bar list, earnings and busiest hours. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Finance } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Home dashboard Template for React and Figma Source: https://pixelsds.com/docs/templates/home-dashboard/ ## Home dashboard Pro Stat cards, revenue and orders charts, contributions, a task list and a customers table in the app shell. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { HomeDashboard } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Templates Source: https://pixelsds.com/docs/templates/ ## Templates Pro Full dashboards for real products. Every block uses the same components and tokens. Live in the Storybook, React + Tailwind, with the matching Figma frames. Home dashboard Stat cards, revenue and orders charts, contributions, a task list and a customers table in the app shell. Analytics An analytics screen: KPI row, sign-up funnel, earnings bars, revenue against last year and monthly orders. Finance A finance screen: KPI row, visitors line, goal gauge, traffic bar list, earnings and busiest hours. Project board A kanban board with tagged cards, team avatars, stage bars and a skills radar. Customers A customers screen with search, filter selects, active filter chips and the data table. AI chat An AI chat screen: recent chats, a thread with an agent run and thinking state, and the composer. Settings Workspace settings: the profile form with preferences beside the notification inbox. Medical report A patient overview with profile, weekly steps, sleep score, activity rings and alerts. --- # Medical report Template for React and Figma Source: https://pixelsds.com/docs/templates/medical-report/ ## Medical report Pro A patient overview with profile, weekly steps, sleep score, activity rings and alerts. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { MedicalReport } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Project board Template for React and Figma Source: https://pixelsds.com/docs/templates/project-board/ ## Project board Pro A kanban board with tagged cards, team avatars, stage bars and a skills radar. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { ProjectBoard } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Settings Template for React and Figma Source: https://pixelsds.com/docs/templates/settings-workspace/ ## Settings Pro Workspace settings: the profile form with preferences beside the notification inbox. Storybook Figma ### Install Part of Pixels Pro . Add your licence key to .npmrc , then install. BASH ``` npm i @pixelsds-pro/react @pixelsds/react react-aria-components ``` ### Usage JSX ``` import { Settings } from '@pixelsds-pro/react'; export default function Page() { return ; } ``` Built only from Pixels components and tokens, so it follows your brand colour, dark mode and right-to-left. The full source is in the Storybook once you have Pro. © 2026 Pixels --- # Theming Source: https://pixelsds.com/docs/theming/ ## Theming Tokens come straight from the Figma variable collections. Change a brand color or a mode and every component follows. Open with AI View as Markdown Open in ChatGPT Open in Claude Open in Lovable ### Token collections The Figma file has seven variable collections. Each becomes a block in pixels-tokens.css : | Collection | Modes | Tokens | Purpose | | Primitives | Default | 303 | Raw palette, sizes, radius, blur and type values | | Brand | Pixels, Mono | 11 | The brand ramp (points at Blue by default) | | Color | Light, Dark, Light · Mono, Dark · Mono | 139 | Semantic colors for content, background, border and surface | | Dimension | Desktop, Tablet, Mobile | 127 | Responsive type, spacing, radius and layout | | Locale | en · LTR, ar · RTL | 53 | Direction, font family and line heights for LTR / RTL | | Density | Default, Compact, Comfortable | 10 | Control heights, padding and gaps | | Component | Default | 299 | Per-component tokens like --px-button-radius | ### Naming Tokens use the Figma name with slashes turned into dashes and a --px- prefix. Semantic tokens point to primitives, and component tokens point to semantic tokens: CSS ``` --px-color-blue-500: #2563eb; /* Primitive */ --px-color-brand-500: var(--px-color-blue-500); /* Brand */ --px-color-background-brand-default: var(--px-color-brand-500); /* Semantic */ --px-button-primary-background-default: var(--px-color-background-brand-default); /* Component */ ``` ### Change the brand color Override the Brand collection. Every button, link, focus ring and selected state updates. CSS ``` :root { --px-color-brand-50: #fdf2f8; --px-color-brand-100: #fce7f3; --px-color-brand-200: #fbcfe8; --px-color-brand-500: #db2777; --px-color-brand-600: #be185d; --px-color-brand-700: #9d174d; } ``` Badge Switch Link ```
Badge Link
``` ### Dark mode Set data-px-theme="dark" on . The Color collection switches to its Dark mode values. Try the theme button in the header. HTML ``` ``` ### Right-to-left and Arabic Set dir="rtl" (and lang="ar" ). The Locale collection switches font family and line heights, and every component mirrors using logical properties. Each preview on this site has an RTL switch. HTML ``` ``` ### Density Three densities from the Density collection change control heights and padding. HTML ``` ``` default comfortable ### Responsive tokens The Dimension collection has Desktop, Tablet and Mobile modes. They apply automatically below 1024px and 600px, so headings, spacing and layout margins shrink on small screens. ### Presets: brand, corners and density in one go Three switches on change the whole system. The Storybook's colour bar has them as one-click presets (Pixels, Mono, Compact, Soft). HTML ``` ``` CSS ``` /* Sharper or rounder corners: scale the radius tokens */ :root { --px-radius-8: 4px; --px-radius-12: 6px; --px-radius-16: 8px; --px-radius-20: 10px; } ``` © 2026 Pixels --- # Typography Source: https://pixelsds.com/docs/typography/ ## Typography Poppins for Latin, an Arabic face for RTL. Sizes and line heights scale down on tablet and mobile. Open with AI View as Markdown Open in ChatGPT Open in Claude Open in Lovable ### Type scale display-lg 54px / 64px The quick brown fox jumps over the lazy dog display-md 44px / 52px The quick brown fox jumps over the lazy dog display-sm 36px / 44px The quick brown fox jumps over the lazy dog headline-lg 24px / 32px The quick brown fox jumps over the lazy dog headline-md 20px / 28px The quick brown fox jumps over the lazy dog headline-sm 16px / 24px The quick brown fox jumps over the lazy dog label-lg 16px / 24px The quick brown fox jumps over the lazy dog label-md 14px / 20px The quick brown fox jumps over the lazy dog label-sm 12px / 16px The quick brown fox jumps over the lazy dog body-lg 16px / 24px The quick brown fox jumps over the lazy dog body-md 14px / 20px The quick brown fox jumps over the lazy dog body-sm 12px / 16px The quick brown fox jumps over the lazy dog ### Using the scale CSS ``` .title { font-family: var(--px-font-family-sans); font-size: var(--px-typography-headline-lg-font-size); line-height: var(--px-typography-headline-lg-line-height); font-weight: var(--px-font-weight-semibold); } ``` ### Responsive sizes | Token | Desktop | Tablet | Mobile | | --px-font-size-headline-sm | 16px | 16px | 16px | | --px-font-size-headline-md | 20px | 16px | 16px | | --px-font-size-headline-lg | 24px | 20px | 18px | | --px-font-size-display-sm | 36px | 28px | 24px | | --px-font-size-display-md | 44px | 40px | 36px | | --px-font-size-display-lg | 54px | 44px | 40px | | --px-font-size-display-xl | 64px | 52px | 44px | | --px-font-size-headline-xl | 30px | 26px | 24px | ### Weights | Token | Value | Sample | | --px-font-weight-light | 300 | Pixels Design System | | --px-font-weight-regular | 400 | Pixels Design System | | --px-font-weight-medium | 500 | Pixels Design System | | --px-font-weight-semibold | 600 | Pixels Design System | | --px-font-weight-bold | 700 | Pixels Design System | ### Arabic In RTL the Locale collection swaps the family and uses taller line heights. © 2026 Pixels