Skip to content

Bootstrap Icons

Boostrap Icons is a library of over 2,000 icons designed for the Bootstrap frontend framework.

Plugin required

This icon library requires the SVGR plugin.

Usage

  1. Find the icon you want
  2. Pass its name to icons.bootstrap (1)
  1. icons.bi works, too.

    import RIL as icons
    
    icons.bi("arrow-right-square-fill")
    
import RIL as icons

icons.bootstrap("arrow-right-square-fill")

Icon names are case-inensitive.

Props

Name Type Description
color str | tuple The color of the icon. May be an rx.color object or Pydantic-recognized color definition.
size int | str The size of the icon. May be an integer (in pixels) or a CSS size string (e.g., "1rem").
title str An accessible, short-text, description of the icon.