# Icons

> One icon set for every product, with fixed sizes, stroke and an action dictionary.

Every product uses [Lucide](https://lucide.dev). Cover Clearance and Lokasign still use Tabler on some screens; those icons move to Lucide when each screen moves to this design system.

| Package | Import |
| --- | --- |
| React | `import { Trash2Icon } from "lucide-react"` |
| Vue | `import { Trash2 } from "@lucide/vue"` |
| Flutter | `Icon(LucideIcons.trash2)`, from `shadcn_ui` |

## Size

- **16px** (`size-4`) inside controls and next to text: buttons, inputs, badges, menu items.
- **20px** (`size-5`) in navigation: the sidebar, the bottom nav and the top bar.
- **24px** (`size-6`) in empty states.

## Stroke and color

- The stroke stays at Lucide's default of 2 in every product. Do not thin or thicken it per brand.
- Icons take `currentColor`, so they follow the text color of their control. Color an icon by coloring its text, never with a fill.

## Accessibility

- A decorative icon next to a label gets `aria-hidden="true"`.
- A button that shows only an icon needs an `aria-label` and a [Tooltip](https://design.sosialoka.tech/components/tooltip/) with the same words.
- Status icons (success, warning, error) always come with text. The icon never carries the meaning alone.

## Icon dictionary

Use the same icon for the same action in every product. If an action is not listed, pick from Lucide and add it here.

| Action | Lucide | React | Vue | Flutter |
| --- | --- | --- | --- | --- |
| Add | plus | PlusIcon | Plus | LucideIcons.plus |
| Edit | pencil | PencilIcon | Pencil | LucideIcons.pencil |
| Delete | trash-2 | Trash2Icon | Trash2 | LucideIcons.trash2 |
| Search | search | SearchIcon | Search | LucideIcons.search |
| Filter | list-filter | ListFilterIcon | ListFilter | LucideIcons.listFilter |
| Sort | arrow-up-down | ArrowUpDownIcon | ArrowUpDown | LucideIcons.arrowUpDown |
| Download | download | DownloadIcon | Download | LucideIcons.download |
| Upload | upload | UploadIcon | Upload | LucideIcons.upload |
| Notifications | bell | BellIcon | Bell | LucideIcons.bell |
| Settings | settings | SettingsIcon | Settings | LucideIcons.settings |
| Account | user | UserIcon | User | LucideIcons.user |
| Sign out | log-out | LogOutIcon | LogOut | LucideIcons.logOut |
| Release | disc | DiscIcon | Disc | LucideIcons.disc |
| Royalties | chart-column | ChartColumnIcon | ChartColumn | LucideIcons.chartColumn |
| Document | file-text | FileTextIcon | FileText | LucideIcons.fileText |
| Song | music | MusicIcon | Music | LucideIcons.music |
| Artist | mic-vocal | MicVocalIcon | MicVocal | LucideIcons.micVocal |
| Link | link | LinkIcon | Link | LucideIcons.link |
| Copy | copy | CopyIcon | Copy | LucideIcons.copy |
| Close | x | XIcon | X | LucideIcons.x |
| Back | chevron-left | ChevronLeftIcon | ChevronLeft | LucideIcons.chevronLeft |
| Info | info | InfoIcon | Info | LucideIcons.info |
| Success | circle-check | CircleCheckIcon | CircleCheck | LucideIcons.circleCheck |
| Warning | triangle-alert | TriangleAlertIcon | TriangleAlert | LucideIcons.triangleAlert |
| Error | circle-alert | CircleAlertIcon | CircleAlert | LucideIcons.circleAlert |
