@@ -37,7 +37,9 @@ Icons inherit the current font color and font size from their parent container e
3737the color of the icon, refer to the [ Variants] ( #variants ) section, and to change the size of the
3838icon refer to the [ Sizing] ( #sizing ) section.
3939
40- All icons are exported with the name in <samp >PascalCase</samp >, prefixed with <samp >BIcon</samp >.
40+ All icons are exported with the name in <samp >PascalCase</samp >, prefixed with <samp >BIcon</samp >. i.e
41+ ` alert-circle-fill ` is exported as ` BIconAlertCircleFill ` , ` x ` is exported as ` BIconX ` , and
42+ ` x-square-fill ` is exported as ` BIconXSquareFill ` .
4143
4244### Importing into your project
4345
@@ -221,9 +223,9 @@ With the use of Bootstrap's border and background
221223Easily place icons as content in other components.
222224
223225Note that icons placed in BootstrapVue components use BootstrapVue's custom CSS for additional
224- styling compensation due to current issues with Bootstrap Icons ` <svg> ` current alignment
225- implementaton and for additional aesthetic sclaing (icons placed in the components listed below
226- will be scaled by 150%).
226+ styling compensation due to current issues with Bootstrap Icons ` <svg> ` alignment implementaton,
227+ and for additional aesthetic sclaing (icons placed in the components listed below will be scaled
228+ by 150%).
227229
228230### Input groups
229231
@@ -246,11 +248,11 @@ will be scaled by 150%).
246248 <b-input-group-prepend is-text >
247249 <b-icon icon =" envelope" ></b-icon >
248250 </b-input-group-prepend >
249- <b-form-input type =" email" placeholder =" me@example.com" " ></b-form-input>
251+ <b-form-input type =" email" placeholder =" me@example.com" ></b-form-input >
250252 </b-input-group >
251253 </div >
252254</template >
253-
255+
254256<!-- icons-input-groups.vue -->
255257```
256258
@@ -260,15 +262,15 @@ will be scaled by 150%).
260262<template >
261263 <div >
262264 <b-button class =" mb-2" size =" sm" >
263- <b-icon icon=" gear-fill " ></b-icon> Settings
265+ <b-icon icon =" gear-fill" class = " mr-1 " ></b-icon > Settings
264266 </b-button >
265267 <br >
266268 <b-button class =" mb-2" variant =" primary" >
267- Settings <b-icon icon=" gear-fill " ></b-icon>
269+ Pay now <b-icon icon =" credit-card " class = " ml-1 " ></b-icon >
268270 </b-button >
269271 <br >
270- <b-button size=" lg " variant=" info " >
271- <b-icon icon=" gear-fill " ></b-icon> Settings
272+ <b-button size =" lg" variant =" outline- info" >
273+ <b-icon icon =" power " class = " mr-1 " ></b-icon > Logout
272274 </b-button >
273275 </div >
274276</template >
@@ -283,24 +285,24 @@ will be scaled by 150%).
283285 <div >
284286 <b-dropdown variant =" primary" >
285287 <template v-slot:button-content >
286- <b-icon icon=" gear-fill " ></b-icon> Settings
288+ <b-icon icon =" gear-fill" class = " mr-1 " ></b-icon > Settings
287289 </template >
288290 <b-dropdown-item-button >
289- <b-icon icon=" lock-fill " ></b-icon>
291+ <b-icon icon =" lock-fill" class = " mr-1 " ></b-icon >
290292 Locked <span class =" sr-only" >(Click to unlock)</span >
291293 </b-dropdown-item-button >
292294 <b-dropdown-divider ></b-dropdown-divider >
293295 <b-dropdown-group header =" Choose options" class =" small" >
294296 <b-dropdown-item-button >
295- <b-icon icon=" blank " ></b-icon>
297+ <b-icon icon =" blank" class = " mr-1 " ></b-icon >
296298 Option A
297299 </b-dropdown-item-button >
298300 <b-dropdown-item-button >
299- <b-icon icon=" check " ></b-icon>
301+ <b-icon icon =" check" class = " mr-1 " ></b-icon >
300302 Option B <span class =" sr-only" >(Selected)</span >
301303 </b-dropdown-item-button >
302304 <b-dropdown-item-button >
303- <b-icon icon=" blank " ></b-icon>
305+ <b-icon icon =" blank" class = " mr-1 " ></b-icon >
304306 Option C
305307 </b-dropdown-item-button >
306308 </b-dropdown-group >
@@ -309,7 +311,7 @@ will be scaled by 150%).
309311 <b-dropdown-item-button >Some other action</b-dropdown-item-button >
310312 <b-dropdown-divider ></b-dropdown-divider >
311313 <b-dropdown-item-button variant =" danger" >
312- <b-icon icon=" alert-square-fill " ></b-icon>
314+ <b-icon icon =" circle-slash " class = " mr-1 " ></b-icon >
313315 Delete
314316 </b-dropdown-item-button >
315317 </b-dropdown >
0 commit comments