Insert Bootstrap Icons, Font Awesome Icons, and Custom Icons into your documents
This editor supports:
Click the ⭐ icon button in the toolbar to browse and insert icons!
This editor is configured to show only Bootstrap Icons.
This editor is configured to show only Font Awesome Icons.
This editor is configured with custom icon URLs (emoji images as an example).
To enable icon support in your editor:
const editor = new QuillKit('#my-editor', {
icons: {
enabled: true, // Enable icon support (default: true)
bootstrap: true, // Enable Bootstrap Icons (default: true)
fontAwesome: true, // Enable Font Awesome (default: true)
customIcons: [ // Custom icon URLs
{
name: 'My Icon',
url: 'https://example.com/icon.png'
}
]
}
});
To use Bootstrap Icons and Font Awesome, include their CDN links in your HTML:
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">