Skip to main content

tablo_ui/
icons.rs

1//! Resolves the app's Lucide icons once from the staged set.
2
3use topcoat::icon::{IconData, iconify::iconify_icon};
4
5/// The user menu's trigger.
6pub const CHEVRONS_UP_DOWN: IconData = iconify_icon!("lucide:chevrons-up-down");
7/// The system theme.
8pub const MONITOR: IconData = iconify_icon!("lucide:monitor");
9/// A cell's copy button.
10pub const COPY: IconData = iconify_icon!("lucide:copy");
11/// A row's action menu.
12pub const ELLIPSIS: IconData = iconify_icon!("lucide:ellipsis");
13/// Sortable column, neither direction active.
14pub const ARROW_UP_DOWN: IconData = iconify_icon!("lucide:arrow-up-down");
15/// Sortable column, sorted ascending; a file list row moving up.
16pub const ARROW_UP: IconData = iconify_icon!("lucide:arrow-up");
17/// Sortable column, sorted descending; a file list row moving down.
18pub const ARROW_DOWN: IconData = iconify_icon!("lucide:arrow-down");
19/// Toast success, and a `true` boolean cell.
20pub const CIRCLE_CHECK: IconData = iconify_icon!("lucide:circle-check");
21/// A `false` boolean cell.
22pub const CIRCLE_X: IconData = iconify_icon!("lucide:circle-x");
23/// Toast info.
24pub const INFO: IconData = iconify_icon!("lucide:info");
25/// Toast warning.
26pub const TRIANGLE_ALERT: IconData = iconify_icon!("lucide:triangle-alert");
27/// Toast error.
28pub const OCTAGON_X: IconData = iconify_icon!("lucide:octagon-x");
29/// Toast close button.
30pub const X: IconData = iconify_icon!("lucide:x");
31/// Theme toggle, shown in light mode.
32pub const SUN: IconData = iconify_icon!("lucide:sun");
33/// Theme toggle, shown in dark mode.
34pub const MOON: IconData = iconify_icon!("lucide:moon");
35/// The user menu's profile link.
36pub const USER: IconData = iconify_icon!("lucide:user");
37/// Sign-out control.
38pub const LOG_OUT: IconData = iconify_icon!("lucide:log-out");
39/// Row action: view the record.
40pub const EYE: IconData = iconify_icon!("lucide:eye");
41/// Row and page action: edit the record.
42pub const PENCIL: IconData = iconify_icon!("lucide:pencil");
43/// Row and bulk action: delete.
44pub const TRASH: IconData = iconify_icon!("lucide:trash");
45/// Search input adornment.
46pub const SEARCH: IconData = iconify_icon!("lucide:search");
47/// Create action.
48pub const PLUS: IconData = iconify_icon!("lucide:plus");
49/// Page action: export the list as CSV, or download an import's template.
50pub const DOWNLOAD: IconData = iconify_icon!("lucide:download");
51/// Page action: import a CSV file into the list.
52pub const UPLOAD: IconData = iconify_icon!("lucide:upload");
53/// A file list's drag handle.
54pub const GRIP_VERTICAL: IconData = iconify_icon!("lucide:grip-vertical");
55/// Back to the list.
56pub const ARROW_LEFT: IconData = iconify_icon!("lucide:arrow-left");
57/// Move an image a gallery lists one place later.
58pub const ARROW_RIGHT: IconData = iconify_icon!("lucide:arrow-right");
59/// Empty state.
60pub const INBOX: IconData = iconify_icon!("lucide:inbox");
61/// A link that leaves the panel (a public page).
62pub const EXTERNAL_LINK: IconData = iconify_icon!("lucide:external-link");
63/// A button that opens a list below it: a filter's checklist.
64pub const CHEVRON_DOWN: IconData = iconify_icon!("lucide:chevron-down");
65/// The selected choice in a menu.
66pub const CHECK: IconData = iconify_icon!("lucide:check");
67/// Relation action: link a record to the one the page shows.
68pub const LINK: IconData = iconify_icon!("lucide:link");
69/// The notification bell in the topbar.
70pub const BELL: IconData = iconify_icon!("lucide:bell");
71/// Marking every notification read.
72pub const CHECK_CHECK: IconData = iconify_icon!("lucide:check-check");
73/// Marking a notification unread.
74pub const MAIL: IconData = iconify_icon!("lucide:mail");
75/// The table's column picker.
76pub const COLUMNS_3: IconData = iconify_icon!("lucide:columns-3");
77/// The table's filter menu.
78pub const LIST_FILTER: IconData = iconify_icon!("lucide:list-filter");
79
80// Rich text toolbar tools.
81/// Rich text: bold.
82pub const BOLD: IconData = iconify_icon!("lucide:bold");
83/// Rich text: italic.
84pub const ITALIC: IconData = iconify_icon!("lucide:italic");
85/// Rich text: underline.
86pub const UNDERLINE: IconData = iconify_icon!("lucide:underline");
87/// Rich text: strikethrough.
88pub const STRIKETHROUGH: IconData = iconify_icon!("lucide:strikethrough");
89/// Rich text: inline code.
90pub const CODE: IconData = iconify_icon!("lucide:code");
91/// Rich text: a level-1 heading.
92pub const HEADING_1: IconData = iconify_icon!("lucide:heading-1");
93/// Rich text: a level-2 heading.
94pub const HEADING_2: IconData = iconify_icon!("lucide:heading-2");
95/// Rich text: a level-3 heading.
96pub const HEADING_3: IconData = iconify_icon!("lucide:heading-3");
97/// Rich text: a bulleted list.
98pub const LIST: IconData = iconify_icon!("lucide:list");
99/// Rich text: a numbered list.
100pub const LIST_ORDERED: IconData = iconify_icon!("lucide:list-ordered");
101/// Rich text: a quotation.
102pub const TEXT_QUOTE: IconData = iconify_icon!("lucide:text-quote");
103/// Rich text: a code block.
104pub const SQUARE_CODE: IconData = iconify_icon!("lucide:square-code");
105/// Rich text: a horizontal rule.
106pub const MINUS: IconData = iconify_icon!("lucide:minus");
107/// Rich text: undo.
108pub const UNDO_2: IconData = iconify_icon!("lucide:undo-2");
109/// Rich text: redo.
110pub const REDO_2: IconData = iconify_icon!("lucide:redo-2");
111
112// Navigation icons for `NavigationItem::icon`.
113/// Navigation: a dashboard or home page.
114pub const LAYOUT_DASHBOARD: IconData = iconify_icon!("lucide:layout-dashboard");
115/// Navigation: people.
116pub const USERS: IconData = iconify_icon!("lucide:users");
117/// Navigation: authors, writing.
118pub const PEN_LINE: IconData = iconify_icon!("lucide:pen-line");
119/// Navigation: documents, posts.
120pub const FILE_TEXT: IconData = iconify_icon!("lucide:file-text");
121/// Navigation: comments, messages.
122pub const MESSAGE_SQUARE: IconData = iconify_icon!("lucide:message-square");
123/// Navigation: categories, tags.
124pub const TAG: IconData = iconify_icon!("lucide:tag");
125/// Navigation: media, images.
126pub const IMAGE: IconData = iconify_icon!("lucide:image");
127/// Navigation: activity, live data.
128pub const ACTIVITY: IconData = iconify_icon!("lucide:activity");