ant-design

Stars and mentions

Last 30 days, Oct 5 – Nov 3

GitHub stars571
mentions3
016324864Oct 5Oct 19Nov 3
UTC days · repositories ant-design owns14 repositories

Package downloads

Cumulative recorded downloads · since 2025-10-19

npm619M
0154.8M309.5M464.3M619MOct 5Oct 19Nov 3
Oct 23npm: 1/31 packages observed

Across 31 known packages in repositories ant-design owns. Cumulative totals include recorded downloads before the selected range. Missing observations leave gaps; totals may be incomplete.

Top repositories

ant-design’s repositories ranked by new stars, as on trending.

Loading

Contributes to

Repositories outside ant-design’s account where ant-design opened or reviewed pull requests in the past 365 days.

Who noticed ant-design

Everyone who starred or forked ant-design’s repositories since the archive began in 2011.

Notable accounts

Ordered by the stars their own repositories have received.

Biggest fans

Accounts that starred the most of these repositories.

Breakout weeks

Each repository’s best week of new stars, with the release published around it.

Mentions

3posts
Nov 40 posts
  1. 100,000 GitHub stars! ⭐ From our first commit in 2015 to this milestone, thank you to every contributor, developer, and supporter who helped shape Ant Design. Let’s keep building better products together. 💙 ant-design/ant-design t.co

    22 likes · 756 views
  2. Ant Design just hit 100,000 stars on GitHub! ⭐️ To every developer, contributor, and team building with antd: thank you for making this possible. Here’s to the next milestone. Let’s keep building, together! 🚀 ant-design/ant-design #AntDesign #OpenSource #GitHub t.co

    5 likes · 173 views
  3. The Complete Guide to SVG Icon Optimization for Web Performance SVG icons have become a cornerstone of modern web design, offering crisp, scalable graphics that look sharp on any device. But simply dropping SVG files into your project isn’t enough—unoptimized icons can bloat your site and slow down rendering, especially on mobile. Mastering SVG optimization is essential for delivering lightning-fast, pixel-perfect interfaces without compromising on visual quality. Why SVG Optimization Matters SVGs (Scalable Vector Graphics) are XML-based files that describe images in a resolution-independent way. Their compactness and flexibility have made them the default choice for icons, logos, and illustrations on the web. However, SVGs are still code—and, like all code, they can contain unnecessary cruft: - Redundant metadata or comments - Unneeded elements or attributes - Inefficient path data - Bloated with editor-specific markup (e.g., from Figma, Illustrator, Sketch) Unoptimized SVGs can: - Increase page load times, especially on icon-heavy interfaces - Cause layout shifts or rendering issues - Expose sensitive information (e.g., author names, software versions) - Waste bandwidth and degrade mobile experiences Optimizing your SVG icons improves web performance, reduces bundle sizes, and ensures your site loads quickly and looks great everywhere. What Makes an SVG "Optimized"? An optimized SVG icon should: - Contain only the elements and attributes necessary for rendering - Use compact, precise path data - Avoid inline styles or scripts unless essential - Compress well for network transfer - Render identically (or better) compared to the original Let’s dive into practical strategies and tools for SVG optimization. Manual SVG Optimization Techniques 1. Clean Up Unnecessary Metadata SVG editors often add metadata, comments, and hidden elements for their own purposes. Most of this is useless in production. Example: Removing metadata <!-- Remove <metadata>, <desc>, <title> unless used for accessibility --> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"> <metadata>Created by Figma</metadata> <!-- ... --> </svg> Becomes: <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24"> <!-- ... --> </svg> 2. Simplify Path Data SVG supports curves and complex paths, but many icons export with more points than needed. Path data can often be simplified without visual loss. Before: <path d="M10 10 L20 10 L20 20 L10 20 Z" /> After (if possible): <rect x="10" y="10" width="10" height="10" /> Or, use path simplification tools to reduce the number of decimal places: <path d="M10 10L20 10L20 20L10 20Z" /> 3. Remove Inline Styles and Unused Attributes Inline styles, IDs, and classes are often unnecessary for icons used in a sprite or as components. Before: <path id="icon-shape" style="fill: #000;" fill="#000000" /> After: <path fill="#000" /> 4. Collapse Groups and Flatten Structure SVGs often nest <g> elements unnecessarily. Flatten where possible: Before: <g> <g> <path ... /> </g> </g> After: <path ... /> 5. Optimize for Accessibility Keep <title> or <desc> only if you are using the SVG inline for accessible labeling. Remove otherwise. Automated SVG Optimization Tools Manual optimization is tedious and error-prone. Fortunately, several automated tools make SVG optimization fast and reliable. SVGO (SVG Optimizer) SVGO is the industry-standard tool for SVG minification and optimization. It’s highly configurable and integrates into build processes. Basic usage: npx svgo input.svg -o output.svg Example config (svgo.config.js): module.exports = { multipass: true, plugins: [ 'removeDoctype', 'removeComments', 'removeMetadata', 'removeTitle', 'removeDesc', 'removeUselessDefs', 'cleanupAttrs', 'convertShapeToPath', 'mergePaths', 'convertStyleToAttrs', { name: 'removeAttrs', params: { attrs: '(stroke|fill|id|class)' } }, ], }; Web-Based Optimizers For quick jobs, web tools like SVGOMG (a GUI for SVGO), SVGminify, and [SVG-editor.com] provide drag-and-drop optimization. Build Tool Integrations Many modern frontend build tools include SVG optimization plugins: - Webpack: image-minimizer-webpack-plugin - Vite: vite-plugin-svgo - Rollup: rollup-plugin-svgo Integrating SVG optimization into your build process ensures every icon is always production-ready. SVG Icon Optimization in JavaScript/TypeScript Projects Importing SVGs as React/Vue/Svelte Components Modern frameworks let you import SVGs as components, but unoptimized icons still bloat your bundle. Example: Using SVGR with React SVGR can convert SVG files into React components and optimize them in the process. npx @svgr/cli --icon input.svg vite.config.ts example: import svgr from 'vite-plugin-svgr' export default { plugins: [svgr()], } Tree-Shaking and Bundling If you use an icon library, import only the icons you need to minimize bundle size. Use tools like babel-plugin-import or explicit imports: import { HomeIcon, SearchIcon } from '@heroicons/react/outline'; // Not: import * as Icons from '@heroicons/react/outline'; Generating SVG Sprites SVG sprites combine multiple icons into a single file, reducing HTTP requests and improving cacheability. Example: Using svg-sprite-loader with Webpack // webpack.config.js module.exports = { module: { rules: [ { test: /\.svg$/, loader: 'svg-sprite-loader', options: { symbolId: 'icon-[name]' } } ] } }; Usage in HTML: <svg><use xlink:href="#icon-search" /></svg> Advanced SVG Optimization Strategies Minify Precision Limiting decimal precision reduces file size without visible change. // SVGO plugin example plugins: [ { name: 'cleanupNumericValues', params: { floatPrecision: 2 } }, ] Remove Unused Gradients and Filters Gradients and filters add bytes and can cause unexpected rendering. Remove if not visible or needed. Consider Inlining vs. External Files - Inline SVG: Great for critical icons (logos, UI), enables CSS styling and accessibility. - External SVG: Better for large icon sets, enables caching, and reduces HTML size. Use Symbol Elements for Reusable Icons SVG <symbol> elements let you define reusable icons in a sprite. <svg style="display: none;"> <symbol id="icon-check" viewBox="0 0 16 16"> <path d="..." /> </symbol> </svg> <!-- Usage --> <svg><use href="#icon-check" /></svg> SVG Icon Optimization Tools and Workflows For teams managing large icon libraries, automation is vital. Popular workflows include: - Design Export: Designers export optimized SVGs directly from tools like Figma or Sketch using plugins. - CI/CD Pipelines: Lint and optimize SVGs on every pull request. - Icon Management Platforms: Tools like Nucleo, IconJar, or IcoGenie (for AI-powered SVG generation and export) streamline icon creation and optimization. Common Pitfalls and How to Avoid Them - Over-optimization: Removing necessary attributes (like viewBox) can break scaling. - Accessibility Regression: Don’t strip out all <title> tags if you use inline SVGs for UI icons. - Inconsistent Icon Sizes: Make sure all icons share the same canvas and viewBox for alignment. - Color Hardcoding: Prefer currentColor for monochrome icons to allow CSS-based color theming. Practical Example: Optimizing an SVG Icon Original: <svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"> <metadata>Created with Sketch.</metadata> <title>Search Icon</title> <desc>A magnifying glass icon</desc> <g id="Layer_1"> <circle cx="21" cy="21" r="16" stroke="#333" stroke-width="2" fill="none"/> <line x1="32" y1="32" x2="44" y2="44" stroke="#333" stroke-width="2"/> </g> </svg> Optimized: <svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <circle cx="21" cy="21" r="16" stroke="currentColor" stroke-width="2" fill="none"/> <line x1="32" y1="32" x2="44" y2="44" stroke="currentColor" stroke-width="2"/> </svg> - Removed metadata, title/desc (unless needed for accessibility) - Switched to currentColor for CSS theming - Added viewBox for scalability - Removed unnecessary <g> and IDs Key Takeaways - SVG optimization is essential for fast, high-quality web experiences—especially when using many icons. - Automate optimization using tools like SVGO, SVGOMG, or build tool plugins. - Streamline your workflow by integrating optimization into CI/CD or using icon management platforms. - Always check accessibility, scaling, and color theming after optimization. - Test icons on real devices to ensure pixel-perfect rendering and performance. A few minutes spent on SVG icon optimization can yield substantial gains in web performance and user satisfaction. Make it a standard part of your front-end workflow and enjoy faster, more maintainable sites.

Achievements

Awards earned by the repositories ant-design owns. Select an award to embed its badge.

Gold
121st place finishes
Silver
12nd place finishes
Bronze
13rd place finishes
Awarded repositories
1Owned by ant-design now

Repositories

Ordered by gold, then silver, then bronze.

  1. ant-designBest: 1st by stars, 64,201 stars1211

Every award

Top-three finishes of these repositories in completed trending days and weeks, newest first.

  1. ant-design
  2. ant-design
  3. ant-design
  4. ant-design
  5. ant-design
  6. ant-design
  7. ant-design
  8. ant-design

A repository earns an award for finishing first, second or third in a completed trending day or week, ranked by new stars, new forks or pull request authors. Awards follow a repository through renames and transfers and count toward its current owner. Weeks run Monday to Sunday, UTC.