-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
SwaggerUI.Themes elevates your API documentation with stunning themes and advanced customization.
Note: GIF framerate is limited. Actual transitions are buttery smooth!
Compatible with Swashbuckle and NSwag, this library integrates effortlessly to transform usability and style—no hassle, just great results!
Warning
Version 3.x Breaking Changes
Upgrading from v2.x? Please review the Migration Guide for important API changes.
Note
This documentation reflects SwaggerUI.Themes v3.x. For older versions, see the Migration Guides.
using AspNetCore.Swagger.Themes;
// Apply a theme - that's it!
app.UseSwaggerUI(Theme.Dark); // Swashbuckle
app.UseSwaggerUi(Theme.Dark); // NSwagView full getting started guide →
🎨 Ready-Made Themes - Professional themes ready to use out of the box
🎯 Zero Configuration - Works out of the box with sensible defaults
🔥 Runtime Theme Switching - Let users choose themes dynamically
🔧 Fully Customizable - CSS variables, custom themes, and standalone themes
⚡ Performance-Optimized - Minified cached resources by default
Getting Started:
- Installation & Setup - Quick start guide
Theming:
- Predefined Themes - Browse built-in themes
- Custom Themes - Create your own
- CSS Variables - Fine-tune appearance
Advanced:
- Advanced Options - UI enhancements and features
- Features Overview - Complete capabilities reference
- Migration Guides - Upgrade from older versions
- 💬 Questions? Open an issue on GitHub
- 🐞 Found a bug? Please report it
- 💡 Feature ideas? Share it here
🚀 Getting Started
✨ Features
📖 Migration Guides