250+ monochromatic icons and symbols from Bootstrap 3's Glyphicons Halflings set for JWebMP applications. CSS web font rendering with glyphicon glyphicon- class prefix.
Built on Glyphicons · Angular 21 · JWebMP Core · JPMS module com.jwebmp.plugins.glyphicons · Java 25+
Version: 1.9.2 — Classic Bootstrap 3 icon set with type-safe Java enum API.
<dependency>
<groupId>com.jwebmp.plugins</groupId>
<artifactId>glyphicons</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>Gradle (Kotlin DSL)
implementation("com.jwebmp.plugins:glyphicons:2.0.0-SNAPSHOT")- 250+ Monochromatic Icons — Classic Bootstrap 3 Glyphicons Halflings set
- Type-Safe Java Enum API —
Glyphiconsenum with compile-time safety and IDE autocomplete - CSS Web Font Rendering —
glyphicon glyphicon-prefixed CSS classes - CRTP Fluent API —
Glyphicon<J>component with type-safe method chaining - IIcon Interface — Implements JWebMP's standard icon interface for interoperability
- Zero Configuration — Auto-registered via ServiceLoader SPI
- Modular Architecture — JPMS module with explicit dependencies
- Java 25 LTS (required)
- Maven 3.8+
- Node.js 18+ (for frontend builds)
- Angular 21+ (auto-integrated via JWebMP)
import com.jwebmp.plugins.glyphicons.Glyphicon;
import com.jwebmp.plugins.glyphicons.Glyphicons;
// Create a home icon
var icon = new Glyphicon<>(Glyphicons.home);
// Search icon
var search = new Glyphicon<>(Glyphicons.search);
// Star icon
var star = new Glyphicon<>(Glyphicons.star);src/main/java/com/jwebmp/plugins/glyphicons/
+-- Glyphicon.java # CRTP icon component (span-based)
+-- Glyphicons.java # Enum with 250+ icon constants
+-- GlyphiconsPageConfigurator.java # Auto-registration via ServiceLoader
+-- implementations/
+-- GlyphiconInclusionModule.java
+-- GlyphiconsExclusionsModule.java
public class Glyphicon<J extends Glyphicon<J>>
extends Span<IComponentHierarchyBase<?,?>, NoAttributes, J>
implements IIcon<IComponentHierarchyBase<?,?>, J>
// Constructor
new Glyphicon<>(Glyphicons.home)
// Methods
.setIcon(Glyphicons icon) // Fluent setter, returns J
.getIcon() // Returns current icon
.getClassName() // Returns CSS class string
.getIconComponent() // Returns this componentGlyphicons.home.toString() // ? "glyphicon glyphicon-home"
Glyphicons.search.toString() // ? "glyphicon glyphicon-search"
Glyphicons.star.toString() // ? "glyphicon glyphicon-star"The plugin is automatically configured when present on the classpath via @TsDependency and @NgStyleSheet.
com.jwebmp.plugins.glyphicons
+-- com.jwebmp.core (JWebMP core)
+-- com.jwebmp.core.base.angular.client (Angular client annotations)
+-- com.guicedee.guicedinjection (Guice DI)
| Aspect | Status |
|---|---|
| Version | 1.9.2 / 2.0.0-SNAPSHOT |
| Icons | 250+ complete |
| Java | 25 LTS (required) |
| Build | Passing |
| License | Apache 2.0 |
| Maintenance | Active |
- GitHub Repository: https://github.com/JWebMP/JWebMP
- Glyphicons: http://glyphicons.com/
- JWebMP Home: https://jwebmp.com/
Licensed under the Apache License 2.0.
Copyright 2025 JWebMP Contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
- GitHub Issues: https://github.com/JWebMP/JWebMP/issues
- Discussions: https://github.com/JWebMP/JWebMP/discussions
Made with JWebMP