Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
syncfusion avatar

Syncfusion React Themes

  • 451 installs
  • 3 repo stars
  • Updated July 28, 2026
  • syncfusion/react-ui-components-skills

syncfusion-react-themes is a Syncfusion agent skill that teaches developers to apply 10+ built-in themes, dark mode, CSS variables, icons, and Theme Studio customization to Syncfusion React components.

About

syncfusion-react-themes is version 33.1.44 in syncfusion/react-ui-components-skills, categorized as Theming and Appearance for Syncfusion React apps. It documents npm and CDN theme imports that must match installed @syncfusion package versions, global dark mode via the e-dark-mode body class, per-component cssClass sizing with e-bigger touch mode, and CSS variable overrides for Fluent 2 hex and Material 3 RGB primary colors. Reference guides cover built-in themes, dark mode switching, css-variables.md per theme family, icons via @syncfusion/ej2-icons, advanced theming including Theme Studio, and tailwind3-lite optimized CSS for smaller bundles. Developers invoke it when styling Syncfusion buttons, grids, or schedulers, switching themes at runtime, or aligning CDN CSS version 33.1.44 with local npm packages.

  • syncfusion-react-themes

Syncfusion React Themes by the numbers

  • 451 all-time installs (skills.sh)
  • +52 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #962 of 4,347 Backend & APIs skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-themes

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs451
repo stars3
Last updatedJuly 28, 2026
Repositorysyncfusion/react-ui-components-skills

How do you apply Syncfusion React themes and dark mode?

Use syncfusion-react-themes for development tasks

Who is it for?

React developers using Syncfusion EJ2 components who need correct theme imports, dark mode, CSS variables, icons, and CDN version alignment.

Skip if: Skip syncfusion-react-themes when the project uses non-Syncfusion UI libraries exclusively or needs only generic Tailwind theming without EJ2 stylesheets.

When should I use this skill?

User asks to theme Syncfusion React components, switch dark mode, import ej2 CSS, customize CSS variables, or configure Syncfusion icons.

What you get

Theme CSS imports, dark-mode toggle code, CSS variable overrides, icon library setup, and touch-mode class configuration for Syncfusion React components.

  • Theme CSS import configuration
  • Dark mode toggle handler
  • Primary color CSS variable overrides

By the numbers

  • Skill metadata version 33.1.44
  • Documents 10+ built-in Syncfusion themes
  • Includes five themed reference guides and five common implementation patterns

Files

SKILL.mdMarkdownGitHub ↗

Themes in Syncfusion React Components

Syncfusion React components provide comprehensive theming support with modern, customizable themes. This skill guides you through applying themes, customizing appearance, implementing dark mode, using CSS variables, managing icons, and creating custom themes for consistent, professional React applications.

Table of Contents

Documentation and Navigation Guide

Built-in Themes

📄 Read: references/built-in-themes.md

  • Available 10+ themes
  • Applying themes via npm packages, CDN, or individual component styles
  • Optimized (lite) CSS files for reduced bundle size

Dark Mode Implementation

📄 Read: references/dark-mode.md

  • Global dark mode with e-dark-mode class
  • Per-component dark mode
  • Runtime theme switching with checkboxes or toggle buttons

CSS Variables Customization

📄 Read: references/css-variables.md

  • CSS variable structure for each theme (Material 3, Fluent 2, Bootstrap 5.3, Tailwind 3.4)
  • Customizing primary, success, warning, danger, info colors
  • Runtime color modification with JavaScript
  • Theme-specific variable formats (RGB vs hex values)

Icon Library

📄 Read: references/icons.md

  • Setting up the icon library (npm or CDN)
  • Using icons with e-icons class
  • Icon sizing (small, medium, large)
  • Customizing icon color and appearance
  • Available icon sets per theme

Size Modes

📄 Read: references/advanced-theming.md

  • Normal vs touch (bigger) size modes
  • Enabling size modes globally or per-component
  • Runtime size mode switching

Advanced Features

📄 Read: references/advanced-theming.md

  • Styled-components integration
  • Font customization across all components
  • Theme Studio for custom theme creation

Quick Start

Install and Apply a Theme

Step 1: Install Syncfusion React Package

npm install @syncfusion/ej2-react-buttons --save

Step 2: Import Theme CSS

Option 1: Import from npm (Recommended)

/* src/App.css */
@import "../node_modules/@syncfusion/ej2-base/styles/tailwind3.css";
@import "../node_modules/@syncfusion/ej2-buttons/styles/tailwind3.css";

Option 2: Use CDN

⚠️ Important: The CDN version MUST match your installed npm package version to avoid style and rendering issues.

To find your installed version:

npm list @syncfusion/ej2-react-buttons

Then use the matching CDN version:

<!-- index.html -->
<!-- Replace {VERSION} with your installed package version (e.g., 28.1.33, 33.1.44) -->
<link href="https://cdn.syncfusion.com/ej2/{VERSION}/tailwind3.css" rel="stylesheet"/>

<!-- Example: If your package version is 33.1.44 -->
<link href="https://cdn.syncfusion.com/ej2/33.1.44/tailwind3.css" rel="stylesheet"/>
Note: Using npm imports (Option 1) is recommended as it automatically keeps CSS and JavaScript versions in sync.

Common Patterns

Pattern 1: Apply Dark Mode Globally

import React, { useState } from 'react';
import { CheckBoxComponent } from '@syncfusion/ej2-react-buttons';
import { ButtonComponent } from '@syncfusion/ej2-react-buttons';

function App() {
  const [isDarkMode, setIsDarkMode] = useState(false);

  const handleDarkModeToggle = (event) => {
    const checked = event.checked ?? false;
    setIsDarkMode(checked);
    
    if (checked) {
      document.body.classList.add('e-dark-mode');
    } else {
      document.body.classList.remove('e-dark-mode');
    }
  };

  return (
    <div>
      <CheckBoxComponent 
        label="Enable Dark Mode" 
        checked={isDarkMode} 
        change={handleDarkModeToggle}
      />
      <ButtonComponent cssClass="e-primary">Sample Button</ButtonComponent>
    </div>
  );
}

export default App;

Pattern 2: Customize Primary Color with CSS Variables

For Fluent 2 Theme:

/* src/App.css */
:root {
  --color-sf-primary: #ff6b35;  /* Custom orange */
}

For Material 3 Theme (uses RGB values):

/* src/App.css */
:root {
  --color-sf-primary: 255, 107, 53;  /* RGB: Custom orange */
}

Pattern 3: Enable Touch Mode Globally

<!-- index.html -->
<body class="e-bigger">
  <div id="root"></div>
</body>

Or per-component:

<ButtonComponent cssClass="e-bigger">Touch-Friendly Button</ButtonComponent>

Pattern 4: Use Optimized CSS for Faster Loading

/* src/App.css - Lite version without bigger mode styles */
@import "@syncfusion/ej2/tailwind3-lite.css";

Pattern 5: Use Icons from Syncfusion Library

Install icons package:

npm install @syncfusion/ej2-icons

Import icon styles:

/* src/App.css */
@import "../node_modules/@syncfusion/ej2-icons/styles/tailwind3.css";

Use icons in components:

<span className="e-icons e-cut"></span>
<span className="e-icons e-medium e-copy"></span>
<span className="e-icons e-large e-paste"></span>

Related skills

How it compares

Use syncfusion-react-themes for EJ2-specific CSS, icons, and Theme Studio workflows; use dark-mode-implementer for app-wide Tailwind or next-themes setups outside Syncfusion.

FAQ

How many themes does syncfusion-react-themes document?

syncfusion-react-themes references 10+ built-in Syncfusion themes importable via npm packages, CDN links, per-component styles, or optimized tailwind3-lite bundles for reduced CSS size.

How do you enable dark mode in Syncfusion React?

syncfusion-react-themes adds the e-dark-mode class to document.body for global dark mode, with checkbox or toggle handlers shown in React TypeScript examples. Per-component dark styling is also documented in references/dark-mode.md.

What version is syncfusion-react-themes?

syncfusion-react-themes metadata lists version 33.1.44 by Syncfusion Inc. CDN examples use matching ej2/33.1.44 CSS URLs to stay aligned with installed npm package versions.

Backend & APIsbackendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.