← All repositories

ant-designant-design

97,624 stars54,521 forksTypeScriptmit0 views
ant.design

Ant Design

Features

  • React Component SuitesA comprehensive suite of components that integrate into applications, supporting both basic usage and complex state-managed interactions.
  • Design Token SystemsA multi-layer design token system using seed, map, and alias tokens to manage design intent and component-level overrides.
  • Theme Configuration APIsA theme configuration system supporting dynamic algorithm switching, component-level token overrides, and zero-runtime style generation.
  • ButtonsA versatile button component supporting various types, sizes, loading states, and icon placements, with customization options for styling and semantic structure.
  • Style Caching StrategiesA caching strategy that uses tokens and component names to pre-calculate style hashes for efficient injection and reuse.
  • Server-Side Rendering Style RegistriesA style-injection registry that extracts and injects component styles into HTML to prevent page flicker during server-side rendering.
  • Product Color SystemsA color framework defining brand, functional, and neutral color usage to ensure consistent visual identity across applications.
  • CSS Variable Token MappingsA system that maps design tokens to CSS variables, enabling theme switching by updating variable values without re-serializing CSS.
  • CSS Variable OverridesA method for modifying theme tokens directly via CSS variables, eliminating the need for complex CSS specificity management.
  • Dynamic Theme EnginesA theme-generation approach using random hash values for style isolation, allowing runtime token modification without performance overhead.
  • Button VariantsA collection of specialized button types, such as dashed, danger, ghost, and call-to-action, for specific user guidance and visual contexts.
  • List ComponentsA versatile list component supporting data binding, custom item rendering, pagination, grid layouts, and virtualized scrolling.
  • Virtualized ListsA virtualized list implementation that optimizes performance by rendering only visible items, suitable for large datasets.
  • CSS-in-JS Hydration MechanismsA hydration mechanism using hash-based caching to avoid redundant style generation during client-side hydration.
  • On-Demand Style ExtractorsAn on-demand style extraction utility that generates hashed CSS files during server-side rendering to optimize asset delivery.
  • Internationalization ProvidersA global configuration component that injects locale-specific text and date formatting settings into the application tree.
  • Next.js IntegrationsA style provider and cache mechanism that extracts and injects component styles into the document head to prevent page flicker.
  • Button Design SystemsA design system for button components, defining visual types, emphasis levels, placement strategies, and grouping patterns.
  • Grid Layout SystemsA grid layout system for lists that supports responsive column configurations and gutter spacing.
  • Style Isolation MechanismsA method for isolating component styles to prevent leakage between nested themes and ensure consistent styling.
  • Context Optimization StrategiesA technique to prevent unnecessary child component re-renders by memoizing context values and splitting large context objects.
  • Style Injection HooksA hook for injecting styles that ensures correct execution timing and reference counting during component lifecycle events.
  • Tree Shaking SupportSupport for module-based tree-shaking, allowing developers to import only specific components to reduce final bundle size.
  • Color Palette SystemsA color system providing base, neutral, and data-visualization palettes, with automated generation and programmatic access.
  • CSS Logical PropertiesA style provider configuration that enables CSS logical properties to support both LTR and RTL layouts.
  • Scoped CSS Variable IsolationsA method for scoping CSS variables within hash-based class selectors to maintain theme isolation in nested components.
  • Form Alignment SpecificationsRight-aligning form labels and colons to create a consistent visual boundary for improved form scanning.
  • Style Extraction UtilitiesA style-extraction utility that captures component styles during server-side rendering and injects them into the document head.
  • Dependency DecompositionA strategy to optimize bundle size by decoupling global configuration providers from specific validation dependencies.
  • Semantic Styling HooksA tree-select component providing semantic class-name hooks for customizing the input field, selection tags, placeholder text, and the popup dropdown.
  • Notification Stacking SystemsA notification stacking mechanism that groups multiple reminders, featuring configurable stacking behavior and automatic ordering.
  • Space Layout HooksA space layout component offering semantic class hooks for its root, item, and separator elements.
  • Static Style ExtractionA server-side rendering strategy that pre-renders components to extract styles into a static CSS file for improved load performance.
  • CSS Variable VariantsA system using CSS variables to manage component variants, reducing repetitive CSS code for complex component combinations.
  • Static Theme SwitchersA theme-switching method that toggles CSS classes on parent elements to update CSS variables without runtime JavaScript computation.
  • Data Grid Styling HooksA data grid component providing semantic class hooks for headers, body rows, cells, footers, and pagination elements.
  • Collapsible PanelsA collapsible panel component that toggles content visibility, supporting accordion mode, custom icons, and flexible trigger areas.
  • Drag and Drop UtilitiesIntegration with drag-and-drop utilities to enable reordering of list items, including support for custom drag handles.
  • Notification SystemsA message notification component offering semantic class names for the list, individual message items, icons, and titles.
  • Skeleton ComponentsA skeleton loading component exposing semantic class hooks for its root, header, section, avatar, title, and paragraph elements.
  • Typography Semantic HooksA typography component providing semantic class-name hooks for customizing the root text container, action buttons, and the inline editing area.
  • Hybrid Style Extraction StrategiesA hybrid rendering approach that combines dynamic style flexibility with static file caching by generating hashed CSS files on demand.