Interface Icon Library
betaBrowse outline, dither, and spot icons. Choose artwork colors and copy or download the result.
Built from Panel Switch, Toast, Icon, Dither Icon, Spot Icon, Icon Color Picker, Button, Search Field, and Select.
Preview
Install
1. Add the registry to
components.json, once per app. Without it, the shadcn CLI looks up@txbrendanin a public list that txbrendan/ui does not control.npx shadcn@latest registry add "@txbrendan=https://txbrendan.dev/r/{name}.json"2. Add the theme, once per app. It replaces your color tokens with ones checked for contrast.
npx shadcn@latest add @txbrendan/theme3. Add the block. It also adds every component it uses. Its own files go in your
componentsfolder, and they are yours to edit.npx shadcn@latest add @txbrendan/interface-icon-library
Use it for
- Place one Toaster in your app layout to show brief copy confirmations.
- Compare outline, still dither, and spot collections with editable colors. Dither previews, SVG downloads, and copied React examples use still artwork.
- Spot icons have separate foreground and background controls. SVG exports resolve the current artwork colors; copied React code retains chosen hex values.
- Colors stay selected when switching collections. Use theme color restores the default.
Avoid it for
- Solid, pixel, or sport collections: use their dedicated browsers.
Props
- className
Classes on the container; later classes win.
string
| Prop | Type | Default | What it does |
|---|---|---|---|
| className | string | - | Classes on the container; later classes win. |
Accessibility
- Search, collection, and color controls are labeled. Selection uses aria-pressed and a visible border.
- Copy success uses a toast; failures and download feedback use a status line. All icons have visible names.
- Custom artwork colors are not contrast-checked.
Examples
Browse
<InterfaceIconLibrary />