Export size24px
App.jsx
import { Smallcaps } from "fmicon-react";
<Smallcaps size={24} variant="twotone" strokeWidth={1} />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | string | 24 | Width and height in pixels |
variant | "linear" | "bold" | … | linear | Any of the 8 styles, plus glass-light for light backgrounds |
color | string | currentColor | Any CSS colour; inherits the text colour by default |
strokeWidth | number | 1.5 | Line weight for linear, twotone, broken and duotone |
...props | SVG attributes | – | className, aria-label, onClick and the rest |
How to Use the Smallcaps Icon
The smallcaps icon belongs to the typography set, and people recognise it quickly in text editors, formatting toolbars and CMS screens. Use it where the action or state it shows needs to be clear at a glance, and pair it with a short text label the first time it appears, so nobody has to guess.
The twotone style adds a faded accent that helps in busy dashboards. If it is the only thing inside a button, add an aria-label such as "Smallcaps" so screen readers can name it. Keep the tap area at least 44 px on touch screens, and let it inherit your text colour so it follows light, dark and hover states automatically.