mirror of
https://github.com/supabase/supabase.git
synced 2026-12-03 23:18:57 +00:00
## Problem `issues` icon looked too generic. ## Solution Add custom icon. - with exclamation mark if issues > 0 - empty inbox icon if issues === 0
./packages/icons
This package contains custom Supabase icons that can be used alongside other icon libraries.
Documentation
For complete documentation, usage examples, and guidelines, see the Design System
Quick start
import { Auth, BucketAdd, Database } from 'icons'
function MyComponent() {
return (
<>
<BucketAdd size={24} className="text-foreground-muted" />
<Database size={16} strokeWidth={1} />
<Auth size={20} />
</>
)
}
Adding new custom icons
- Add your SVG file to
src/raw-icons/(kebab-case name) - Run
npm run build:iconsin this directory - Import and use your new icon
For detailed instructions, examples, and troubleshooting, see the Design System.