mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 22:18:00 +08:00
Sorted all imports in all packages, `cms`, `design-system` and `ui-library` apps by running `pnpm format` on them. All changes in this PR are done by the script.
840 B
840 B
./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.