Compare commits

...

33 Commits

Author SHA1 Message Date
Daniel Bayley
d38509a03d Add monitor-[up/down] icons (#1136)
* Add `monitor-up` icon

* Add `monitor-down` icon

* Update icons/monitor-up.json

Co-authored-by: Karsa <contact@karsa.org>

* Fix `monitor-down` metadata

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-23 13:12:32 +02:00
Daniel Bayley
6550e22874 Improve metadata for keys, and modify arrow-big-* icons to include shift key (#1002)
* Improve metadata for keys

* Modify `arrow-big-up` (`shift` key)

* Modify `arrow-big-right` to match `arrow-big-up` (`shift` key) icon

* Modify `arrow-big-down` to match `arrow-big-up` (`shift` key) icon

* Modify `arrow-big-left` to match `arrow-big-up` (`shift` key) icon

* Add `arrow-big-up-dash` (`caps lock` key) icon

* Fix `arrow-big-up` metadata

* Refine `arrow-big-up-dash` icon

* Add `arrow-big-down-dash` icon

* Fix `arrow-big-left` metadata

* Add `arrow-big-left-dash` icon

* Add `arrow-big-right-dash` icon

* Optimize `arrow-big-*` icons

---------

Co-authored-by: Karsa <karsa@karsa.org>
2023-04-23 11:47:31 +02:00
Karsa
22193420c7 Sorting out our sort icons (#1028)
* Refactors sort icons to cover all use cases

* increases arrow head size

* Apply suggestions from code review

---------

Co-authored-by: Karsa <karsa@karsa.org>
2023-04-23 11:44:33 +02:00
Karsa
70827d4571 Added and (#1115)
Co-authored-by: Karsa <karsa@karsa.org>
2023-04-23 11:39:11 +02:00
Daniel Bayley
7d980f6cc1 Add repeat-2 (repost/retweet) icon (#1135)
* Add `repeat-2` icon

* Update icons/repeat-2.svg

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-23 11:39:04 +02:00
locness3
67131489c8 lucide-static.md : rephrase warning and improve small details (#1123)
* lucide-static.md : rephrase warning and improve small details

* more capitalization of "svg"
2023-04-23 10:31:02 +02:00
Daniel Bayley
ebf03a5434 Add save-all icon (#1125)
* Add `save-all` icon

* Improve `save` metadata

* Update icons/save-all.json

Co-authored-by: Karsa <contact@karsa.org>

* Update icons/save-all.svg

Co-authored-by: Jakob Guddas <github@jguddas.de>

---------

Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Jakob Guddas <github@jguddas.de>
2023-04-22 17:19:45 +02:00
Daniel Bayley
8fda42c719 Improve ban metadata (#1130) 2023-04-21 19:58:45 +02:00
Daniel Bayley
b17627b82d Add shield-question icon (#1112)
Update icons/shield-question.svg

Co-authored-by: Jakob Guddas <github@jguddas.de>
2023-04-20 18:28:33 +02:00
Karsa
84ec1620a8 [lucide-angular] Fixes change detection issue with legacy img input setter (#1129)
* [lucide-angular] Fixes img setter alias

* fixes change detection issue with img setter

---------

Co-authored-by: Karsa <karsa@karsa.org>
2023-04-20 18:25:18 +02:00
Eric Fennis
a87ae2a92b Introducing absoluteStrokeWidth option on Lucide Components (#939)
* Add more music icons and another mic icon (#746)

* Revert "Add more music icons and another mic icon (#746)" (#750)

This reverts commit 57cba6ae0e.

* add scale Stroke width

* Added scaleStrokeWidth prop to all packages

* Add scaleStrokeWidth to types

* Rename scaleStrokeWidth to absoluteStrokeWidth

* Adds common API elements to the Angular package (#949)

* Almost complete rewrite of the Angular package

* Update tsconfig.spec.json

* fixes icon build export file name

* Updates Angular documentation with the new properties + provider injection

* Update lucide-angular.md

* refactored scaleStrokeWidth to be absoluteStrokeWidth to match other packages

* removed codelyzer from devDeps + added flexible angular core dependencies

* Deprecates createElement helper in favour of Renderer2 to support SSR

---------

Co-authored-by: Karsa <karsa@karsa.org>

* Add absoluteStrokeWidth in docs

* update snapshots

* Manual merge of main

* Fixed incorrectly merged pnpm-lock.yaml

* Fixes lucide-angular build

* [lucide-angular] Global configuration for properties + bugfix for legacy icon provider   (#1012)

* Almost complete rewrite of the Angular package

* Update tsconfig.spec.json

* fixes icon build export file name

* Updates Angular documentation with the new properties + provider injection

* Update lucide-angular.md

* refactored scaleStrokeWidth to be absoluteStrokeWidth to match other packages

* removed codelyzer from devDeps + added flexible angular core dependencies

* Deprecates createElement helper in favour of Renderer2 to support SSR

* Added global configuration and fixed undefined bug in legacy icon provider. Also updated README.md

* Replaces removed line in README.md

* Fixes merge error

* Updates export template to use the non-deprecated type

* downgrade building to ng-cli@13

* downgrade to es2020

---------

Co-authored-by: Karsa <karsa@karsa.org>

* rename scaleStrokeWidth to absoluteStrokeWidth in readme

---------

Co-authored-by: it-is-not <72697755+it-is-not@users.noreply.github.com>
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Eric Fennis <eric@dreamteam.nl>
Co-authored-by: Karsa <karsa@karsa.org>
Co-authored-by: Eric Fennis <eric.fennis@nac41112.nedap.local>
2023-04-20 16:08:34 +02:00
Daniel Bayley
f35f45c7b3 Add messages-square icon (#1030)
* Add `messages-square` icon

* Add `message-square-plus` icon

* Add `message-square-dashed` icon
2023-04-20 16:02:27 +02:00
Daniel Bayley
c9a418dfc4 Improve play metadata (#1062)
* Improve `play` metadata

* Improve `un`/`re`/`do`/`fresh`/`reload` metadata
2023-04-20 15:53:28 +02:00
Daniel Bayley
70be608a58 Add folder-git icon (#1009)
* Add `folder-git` icon

* Add `folder-git-2` icon
2023-04-20 15:52:03 +02:00
Daniel Bayley
db311ab023 Add list-tree icon (#1114)
Update icons/list-tree.json

Co-authored-by: Karsa <contact@karsa.org>
2023-04-20 15:49:08 +02:00
Daniel Bayley
cac81636fb Fix arrow-up-left-from-circle metadata (#1126)
This is causing the `pre-commit` hook to fail, because it was merged after the `coding` category was removed.
2023-04-20 15:20:41 +02:00
Daniel Bayley
4b225a2e80 Add test-tube/s icon/s and improve metadata for lab icons (#992)
* Improve metadata for `lab` icons

* Improve metadata for `lab` icons

* Add `test-tube` icon

* Add `test-tube` alternate icon

* Add `test-tubes` icon

* Refine `flask-round` icon

* Improve metadata
2023-04-19 21:40:03 +02:00
Jakob Guddas
8aac1c7ba6 Optimized bone (#1119)
* Optimized `bone`

* Update bone.svg

* Update icons/bone.svg

Co-authored-by: Karsa <contact@karsa.org>

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-19 21:37:57 +02:00
Daniel Bayley
d513a2b9df Add/refine radio[-tower] icons (#1070)
* Add `radio-tower` icon

* Refine `radio` icon
Update icons/radio-tower.svg

Co-authored-by: Karsa <contact@karsa.org>

* Apply suggestions from code review

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-19 21:27:47 +02:00
Jakob Guddas
204a418643 Fixed connection issue and optimized cpu (#1100)
* Fixed connection issue and optimized `cpu`

* Update icons/cpu.svg

Co-authored-by: Karsa <contact@karsa.org>

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-19 21:26:04 +02:00
Jakob Guddas
36039d8bdc Fixed alignment issues usb (#1103) 2023-04-19 21:25:43 +02:00
Jakob Guddas
49bd49b843 fix: fixed github icon api route issue (#1117) 2023-04-19 19:04:04 +02:00
Jakob Guddas
4679ff791d feat: added backdrop to gh-icon (#1097)
* feat: added backdrop to gh-icon

* feat: added backdrop to gh-icon

* feat: changed fill pattern

* chore: pattern cleanup

* feat: improved backdrop color
2023-04-18 22:40:18 +02:00
Karsa
bfab755958 Merged coding and development categories (#1067)
Co-authored-by: Karsa <karsa@karsa.org>
2023-04-18 09:08:15 +02:00
Daniel Bayley
63aa17a001 Add circuit-board icon (#1065)
Update icons/circuit-board.svg

Co-authored-by: Jakob Guddas <github@jguddas.de>
2023-04-18 09:04:46 +02:00
Jakob Guddas
db6194369d Optimized database (#1106) 2023-04-16 23:15:43 +02:00
Daniel Bayley
29c952fdaf Improve [*-]check[-*] metadata (#1057) 2023-04-16 22:01:57 +02:00
Daniel Bayley
637e285c52 Improve minus metadata (#1071) 2023-04-16 22:00:01 +02:00
Lucide Bot
d6ee5d963c 📦 Bump lucide package versions to 0.160.0 2023-04-16 17:20:01 +00:00
Jakob Guddas
97d02ec6e5 Optimized vegan (#1104)
* Optimized `vegan`

* Update icons/vegan.svg

Co-authored-by: Karsa <contact@karsa.org>

* Update vegan.svg

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-16 19:14:42 +02:00
Lucide Bot
f5be205fc9 📦 Bump lucide package versions to 0.159.0 2023-04-16 16:50:55 +00:00
Jakob Guddas
f2e0da9bb1 Simplified citrus (#1098)
* Simplified `citrus`

* Update icons/citrus.svg

Co-authored-by: Karsa <contact@karsa.org>

* Update citrus.svg

---------

Co-authored-by: Karsa <contact@karsa.org>
2023-04-16 18:45:34 +02:00
Jakob Guddas
2ca852fc7d Optimized headphones (#1099) 2023-04-16 18:43:52 +02:00
295 changed files with 9073 additions and 6987 deletions

View File

@@ -32,7 +32,7 @@ jobs:
tr '\n' ' ' | # remove line breaks tr '\n' ' ' | # remove line breaks
sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element sed -e 's/<svg[^>]*>/<svg>/g' | # remove attributes from svg element
base64 -w 0 | # encode svg base64 -w 0 | # encode svg
sed "s|.*|<img width=\"400\" title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/&.svg\"/> |" sed "s|.*|<img width=\"400\" title=\"$file\" alt=\"$file\" src=\"https://lucide.dev/api/gh-icon/$(basename ${file//\.svg/})/&.svg\"/> |"
done | tr '\n' ' ' >> $GITHUB_OUTPUT done | tr '\n' ' ' >> $GITHUB_OUTPUT
echo >> $GITHUB_OUTPUT echo >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT echo "$delimiter" >> $GITHUB_OUTPUT

View File

@@ -1,5 +0,0 @@
{
"$schema": "../category.schema.json",
"title": "Coding",
"icon": "code-2"
}

View File

@@ -1,5 +1,5 @@
{ {
"$schema": "../category.schema.json", "$schema": "../category.schema.json",
"title": "Development", "title": "Coding & development",
"icon": "git-pull-request" "icon": "code-2"
} }

View File

@@ -16,7 +16,7 @@ When designing new icons, the community is working with a set of design rules. T
Beside design, code is also important. Assets like icons in, for example, web projects can increase the bandwidth usage significantly. With the growing internet, lucide has the responsibility to keep their assets as small as possible. To achieve this, lucide uses SVG compression and specific code architecture for tree-shaking abilities. After tree-shaking, you will only ship the icons you used, helps you to keep the software distribution size to a minimum. Beside design, code is also important. Assets like icons in, for example, web projects can increase the bandwidth usage significantly. With the growing internet, lucide has the responsibility to keep their assets as small as possible. To achieve this, lucide uses SVG compression and specific code architecture for tree-shaking abilities. After tree-shaking, you will only ship the icons you used, helps you to keep the software distribution size to a minimum.
Lucide provides several official packages for: [Web (Vanilla)](https://lucide.dev/docs/lucide), [React](https://lucide.dev/docs/lucide-react), [React Native](https://lucide.dev/docs/lucide-react-native), [Vue](https://lucide.dev/docs/lucide-vue), [Vue 3](https://lucide.dev/docs/lucide-vue-next), [Svelte](https://lucide.dev/docs/lucide-svelte),[Preact](https://lucide.dev/docs/lucide-preact), [Angular](https://lucide.dev/docs/lucide-angular), [NodeJS](https://lucide.dev/docs/lucide-static#nodejs) and [Flutter](https://lucide.dev/docs/lucide-flutter). Lucide provides several official packages for: [Web (Vanilla)](https://lucide.dev/docs/lucide), [React](https://lucide.dev/docs/lucide-react), [React Native](https://lucide.dev/docs/lucide-react-native), [Vue](https://lucide.dev/docs/lucide-vue), [Vue 3](https://lucide.dev/docs/lucide-vue-next), [Svelte](https://lucide.dev/docs/lucide-svelte), [Solid](https://lucide.dev/docs/lucide-solid), [Preact](https://lucide.dev/docs/lucide-preact), [Angular](https://lucide.dev/docs/lucide-angular), [NodeJS](https://lucide.dev/docs/lucide-static#nodejs) and [Flutter](https://lucide.dev/docs/lucide-flutter).
Any questions about lucide? Ask the community. Active on [GitHub](https://github.com/lucide-icons/lucide) and [Discord](https://discord.gg/EH6nSts). Any questions about lucide? Ask the community. Active on [GitHub](https://github.com/lucide-icons/lucide) and [Discord](https://discord.gg/EH6nSts).

View File

@@ -1,154 +1,109 @@
# Lucide Angular # Lucide Angular
Implementation of the lucide icon library for angular applications. Implementation of the lucide icon library for Angular applications.
## Installation ## Installation
```sh ```bash
yarn add lucide-angular yarn add lucide-angular
``` ```
or or
```sh ```bash
npm install lucide-angular npm install lucide-angular
``` ```
## How to use ## How to use
There are three ways for use this library. ### Step 1: Import `LucideAngularModule`
### Method 1: createElement In any Angular module you wish to use Lucide icons in, you have to import `LucideAngularModule`, and pick any icons you wish to use:
After install `lucide-angular` change content of file `app.component.html` and `app.component.ts`.
```html
<!-- app.component.html -->
<div id="lucide-icon"></div>
```
```js ```js
// app.component.ts import { LucideAngularModule, File, Home, Menu, UserCheck } from 'lucide-angular';
import { Component, OnInit } from '@angular/core';
import { createElement } from 'lucide-angular';
import { Activity } from 'lucide-angular/icons';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
ngOnInit(): void {
const div = document.getElementById('lucide-icon');
const elm = createElement(Activity);
elm.setAttribute('color', 'red'); // or set `width`, `height`, `fill`, `stroke-width`, ...
if (div) {
div.appendChild(elm);
}
}
}
```
### Method 2: User **Tag** with **name** property
After install `lucide-angular` change content of file `app.component.html`, `app.component.ts`, `app.component.css` and `app.module.ts`.
```js
// app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { LucideAngularModule, AlarmCheck, Edit } from 'lucide-angular';
@NgModule({ @NgModule({
declarations: [AppComponent],
imports: [ imports: [
BrowserModule, LucideAngularModule.pick({File, Home, Menu, UserCheck})
AppRoutingModule, ]
LucideAngularModule.pick({ AlarmCheck, Edit }) // add all of icons that is imported.
],
providers: [],
bootstrap: [AppComponent]
}) })
export class AppModule {} export class AppModule { }
``` ```
### Step 2: Use the icons in templates
Within your templates you may now use one of the following component tags to insert an icon:
```html ```html
<!-- app.component.html --> <lucide-angular name="file" class="my-icon"></lucide-angular>
<lucide-icon name="alarm-check" class="myicon"></lucide-icon> <lucide-icon name="home" class="my-icon"></lucide-icon>
<lucide-icon name="edit" class="myicon"></lucide-icon> <i-lucide name="menu" class="my-icon"></i-lucide>
<span-lucide name="user-check" class="my-icon"></span-lucide>
``` ```
### Method 3: User **Tag** with **img** property ### Props
After install `lucide-angular` change content of file `app.component.html`, `app.component.ts`, `app.component.css` and `app.module.ts`. You can pass additional props to adjust the icon appearance.
```js | name | type | default |
// app.module.ts | --------------------- | --------- | ------------ |
import { NgModule } from '@angular/core'; | `size` | *number* | 24 |
import { BrowserModule } from '@angular/platform-browser'; | `color` | *string* | currentColor |
| `strokeWidth` | *number* | 2 |
| `absoluteStrokeWidth` | *boolean* | false |
import { AppRoutingModule } from './app-routing.module'; ```html
import { AppComponent } from './app.component'; <i-lucide name="home" [size]="48" color="red" [strokeWidth]="1"></i-lucide>
import { LucideAngularModule } from 'lucide-angular';
@NgModule({
declarations: [AppComponent],
imports: [BrowserModule, AppRoutingModule, LucideAngularModule.pick({})],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
``` ```
```xml ### Global configuration
<!-- app.component.html -->
<lucide-icon [img]="ico1" class="myicon"></lucide-icon>
<lucide-icon [img]="ico2" class="myicon"></lucide-icon>
```
```js You can inject the `LucideIconConfig` service in your root component to globally configure the default property values as defined above.
// app.component.ts
import { Component } from '@angular/core';
import { Airplay, Circle } from 'lucide-angular';
@Component({ ### Styling using a custom CSS class
selector: 'app-root',
templateUrl: './app.component.html', Any extra HTML attribute is ignored, but the `class` attribute
styleUrls: ['./app.component.css'] is passed onto the internal SVG image element and it can be used to style it:
})
export class AppComponent { ```css
ico1 = Airplay; svg.my-icon {
ico2 = Circle; width: 12px;
height: 12px;
stroke-width: 3;
} }
``` ```
## Notes ## Injecting multiple icon providers
### Import all icons You may provide additional icons using the `LUCIDE_ICONS` injection token,
which accepts multiple providers of the interface `LucideIconsProviderInterface`
In `Method 2`: import all icons in `app.module.ts` by: with the utility class `LucideIconsProvider` available for easier usage:
```js ```js
import { LUCIDE_ICONS, LucideIconProvider } from 'lucide-angular';
import { MyIcon } from './icons/my-icon';
const myIcons = {MyIcon};
@NgModule({
providers: [
{provide: LUCIDE_ICONS, multi: true, useValue: new LucideIconProvider(myIcons)},
]
})
export class AppModule { }
```
To add custom icons, you will first need to convert them to an [svgson format](https://github.com/elrumordelaluz/svgson).
## Loading all icons
> :warning: You may also opt to import all icons if necessary using the following format but be aware that this will significantly increase your application build size.
```js
import { icons } from 'lucide-angular'; import { icons } from 'lucide-angular';
LucideAngularModule.pick(icons)
... ...
LucideAngularModule.pick(icons)
``` ```
### Tags
You can use the following tags instead of `lucide-icon`:
- lucide-angular
- i-lucide
- span-lucide
All of the above are the same

View File

@@ -42,10 +42,11 @@ export default App;
### Props ### Props
| name | type | default | | name | type | default |
| ------------- | -------- | ------------ | | --------------------- | --------- | ------------ |
| `size` | _Number_ | 24 | | `size` | *number* | 24 |
| `color` | _String_ | currentColor | | `color` | *string* | currentColor |
| `strokeWidth` | _Number_ | 2 | | `strokeWidth` | *number* | 2 |
| `absoluteStrokeWidth` | *boolean* | false |
### Custom props / svg attributes ### Custom props / svg attributes

View File

@@ -40,10 +40,11 @@ export default App;
### Props ### Props
| name | type | default | | name | type | default |
| ------------- | -------- | ------------ | | --------------------- | --------- | ------------ |
| `size` | _Number_ | 24 | | `size` | *number* | 24 |
| `color` | _String_ | currentColor | | `color` | *string* | currentColor |
| `strokeWidth` | _Number_ | 2 | | `strokeWidth` | *number* | 2 |
| `absoluteStrokeWidth` | *boolean* | false |
### Custom props ### Custom props

View File

@@ -38,10 +38,11 @@ export default App;
### Props ### Props
| name | type | default | | name | type | default |
| ------------- | -------- | ------------ | | --------------------- | --------- | ------------ |
| `size` | _Number_ | 24 | | `size` | *number* | 24 |
| `color` | _String_ | currentColor | | `color` | *string* | currentColor |
| `strokeWidth` | _Number_ | 2 | | `strokeWidth` | *number* | 2 |
| `absoluteStrokeWidth` | *boolean* | false |
### Custom props ### Custom props

View File

@@ -0,0 +1,79 @@
# Lucide Solid
Implementation of the lucide icon library for solid applications.
## Installation
```sh
yarn add lucide-solid
```
or
```sh
npm install lucide-solid
```
## How to use
It's build with ESmodules so it's completely tree-shakable.
Each icon can be imported as a solid component.
### Example
You can pass additional props to adjust the icon.
```js
import { Camera } from 'lucide-solid';
// Returns SolidComponent
// Usage
const App = () => {
return <Camera color="red" size={48} />;
};
export default App;
```
### Props
| name | type | default |
| --------------------- | --------- | ------------ |
| `size` | *number* | 24 |
| `color` | *string* | currentColor |
| `strokeWidth` | *number* | 2 |
| `absoluteStrokeWidth` | *boolean* | false |
### Custom props / svg attributes
You can also pass custom props that will be added in the as attributes. With that you can modify the icons look by passing svg attributes.
```js
// Usage
const App = () => {
return <Camera fill="red" stroke-linejoin="bevel" />;
};
```
### One generic icon component
It is possible to create one generic icon component to load icons.
> :warning: Example below importing all EsModules, caution using this example, not recommended when you using bundlers, your application build size will grow strongly.
#### Icon Component Example
```tsx
import * as icons from 'lucide-solid';
import type { LucideProps } from 'lucide-solid';
import { splitProps } from 'solid-js';
import { Dynamic } from 'solid-js/web';
const Icon = (props: { name: keyof typeof icons } & LucideProps) => {
const [local, others] = splitProps(props, ["name"]);
return <Dynamic component={icons[local.name]} {...others} />
};
export default Icon;
```

View File

@@ -2,16 +2,16 @@
This package include the following lucide implementations: This package include the following lucide implementations:
- All svg files - All SVG files
- Javascript library containing strings of svgs. - SVG sprite
- Icon fonts - Icon fonts
- Svg sprite - JavaScript library containing strings of SVGs.
## Why lucide-static? ## Why lucide-static?
This package is suitable for very specific use cases for example if you want to use icon fonts, svg sprites, normal svgs or Common.js Svg strings in your javascript project. This package is suitable for specific use cases, for example if you want to use icon fonts, SVG sprites, normal SVGs or Common.js SVG strings in your javascript project.
> ⚠️ It is not recommended to use this package for svg sprites or icon fonts for web pages/applications, for prototyping it is ok. We recommend to bundlers for web applications to make sure you only bundle the used icons from this icon library (Treeshaking). Otherwise it will load all the icons, making you webpage loading slower. Threeshaking is only available in the packages: [lucide](lucide), [lucide-react](lucide-react), [lucide-vue](lucide-vue), [lucide-vue-next](lucide-vue-next), [lucide-angular](lucide-angular), [lucide-preact](lucide-preact) > ⚠️ While they can be useful for prototyping, it is not recommended to use the SVG sprites or icon fonts provided by this package in production web apps as all the available icons are included in the app, hence increasing loading time and data usage. We recommend to use a bundler and treeshaking to make sure only the icons you use are bundled with your app. Threeshaking is only available in these packages: [lucide](lucide), [lucide-react](lucide-react), [lucide-vue](lucide-vue), [lucide-vue-next](lucide-vue-next), [lucide-angular](lucide-angular), [lucide-preact](lucide-preact)
## Installation ## Installation
@@ -30,10 +30,10 @@ npm install lucide-static
### CDN ### CDN
```html ```html
<!-- Svg File --> <!-- SVG file for a single icon -->
<img src="https://unpkg.com/lucide-static@latest/icons/home.svg" /> <img src="https://unpkg.com/lucide-static@latest/icons/home.svg" />
<!-- Icon Font --> <!-- Icon font -->
<style> <style>
@font-face { @font-face {
font-family: 'LucideIcons'; font-family: 'LucideIcons';
@@ -44,16 +44,16 @@ npm install lucide-static
## Usage ## Usage
Checkout the [codesandbox examples](https://codesandbox.io/s/using-the-svg-sprite-lz1kk). Check out the [codesandbox examples](https://codesandbox.io/s/using-the-svg-sprite-lz1kk).
### SVG Files ### SVG Files
#### Svg file as image #### SVG file as image
To use it in for example html: To use it in for example html:
```html ```html
<!-- Svg File --> <!-- SVG file for a single icon -->
<img src="~lucide-static/icons/home.svg" /> <img src="~lucide-static/icons/home.svg" />
``` ```
@@ -65,15 +65,15 @@ To use it in for example html:
Make sure you have the correct webpack loaders to make this work. [url-loader](https://v4.webpack.js.org/loaders/url-loader/) Make sure you have the correct webpack loaders to make this work. [url-loader](https://v4.webpack.js.org/loaders/url-loader/)
#### Svg file Inline #### SVG file as string
You can simply import each svg by targeting `lucide-static/icons/{icon-name}.svg`. You can simply import each SVG by targeting `lucide-static/icons/{icon-name}.svg`.
To use svgs in your project you can for example use a [svg loader](https://v4.webpack.js.org/loaders/svg-inline-loader/). To use SVGs in your project you can for example use a [SVG loader](https://v4.webpack.js.org/loaders/svg-inline-loader/).
```js ```js
import arrowRightIcon from 'lucide-static/icons/arrow-right'; import arrowRightIcon from 'lucide-static/icons/arrow-right';
// return string of a svg // return string of an SVG
``` ```
### SVG Sprite ### SVG Sprite
@@ -116,7 +116,7 @@ If you'd prefer, you can use CSS to hold your base SVG properties
} }
``` ```
and update the svg as follows and update the SVG as follows
```svg ```svg
<svg <svg

View File

@@ -43,11 +43,13 @@ You can pass additional props to adjust the icon.
### Available props ### Available props
| name | type | default | | name | type | default |
| ------------- | -------- | ------------ | | --------------------- | --------- | ------------ |
| `size` | _Number_ | 24 | | `size` | *number* | 24 |
| `color` | _String_ | currentColor | | `color` | *string* | currentColor |
| `strokeWidth` | _Number_ | 2 | | `strokeWidth` | *number* | 2 |
| `*<SVGProps>` | _String_ | - | | `absoluteStrokeWidth` | *boolean* | false |
| `*<SVGProps>` | *string* | - |
\* All SVGProps are available to style the svgs. See the list of SVG Presentation Attributes on [MDN](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/Presentation) \* All SVGProps are available to style the svgs. See the list of SVG Presentation Attributes on [MDN](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/Presentation)

View File

@@ -42,12 +42,13 @@ import { Camera } from 'lucide-vue-next';
### Props ### Props
| name | type | default | name | type | default |
| ------------ | -------- | -------- | ----------------------- | --------- | ------------ |
| `size` | *Number* | 24 | `size` | *number* | 24 |
| `color` | *String* | currentColor | `color` | *string* | currentColor |
| `stroke-width`| *Number* | 2 | `stroke-width` | *number* | 2 |
| `default-class`| *String* | lucide-icon | `absolute-stroke-width` | *boolean* | false |
| `default-class` | *string* | lucide-icon |
### Custom props ### Custom props
@@ -69,7 +70,12 @@ It is possible to create one generic icon component to load icons.
``` html ``` html
<template> <template>
<component :is="icon" :size="size" :color="color" :stroke-width="strokeWidth" :default-class="defaultClass" /> <component
:is="icon"
:size="size"
:color="color"
:stroke-width="strokeWidth" :default-class="defaultClass"
/>
</template> </template>
<script setup> <script setup>

View File

@@ -44,11 +44,12 @@ You can pass additional props to adjust the icon.
### Props ### Props
| name | type | default | | name | type | default |
| -------------- | -------- | ------------ | | ----------------------- | --------- | ------------ |
| `size` | _Number_ | 24 | | `size` | *number* | 24 |
| `color` | _String_ | currentColor | | `color` | *string* | currentColor |
| `strokeWidth` | _Number_ | 2 | | `stroke-width` | *number* | 2 |
| `defaultClass` | _String_ | lucide-icon | | `absolute-stroke-width` | *boolean* | false |
| `default-class` | *string* | lucide-icon |
### Custom props ### Custom props

View File

@@ -1,7 +1,11 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"done" "done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"devices", "devices",

View File

@@ -0,0 +1,11 @@
{
"$schema": "../icon.schema.json",
"tags": [
"key",
"download"
],
"categories": [
"arrows",
"files"
]
}

View File

@@ -9,9 +9,6 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M11 5h10" /> <path d="M15 5H9" />
<path d="M11 9h7" /> <path d="M15 9v3h4l-7 7-7-7h4V9h6z" />
<path d="M11 13h4" />
<path d="m3 17 3 3 3-3" />
<path d="M6 18V4" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 272 B

View File

@@ -9,5 +9,5 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M9 3h6v11h4l-7 7-7-7h4z" /> <path d="M15 6v6h4l-7 7-7-7h4V6h6z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 249 B

View File

@@ -0,0 +1,10 @@
{
"$schema": "../icon.schema.json",
"tags": [
"key",
"back"
],
"categories": [
"arrows"
]
}

View File

@@ -9,9 +9,6 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M11 11h4" /> <path d="M19 15V9" />
<path d="M11 15h7" /> <path d="M15 15h-3v4l-7-7 7-7v4h3v6z" />
<path d="M11 19h10" />
<path d="M9 7 6 4 3 7" />
<path d="M6 6v14" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 332 B

After

Width:  |  Height:  |  Size: 275 B

View File

@@ -1,7 +1,8 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"key" "key",
"back"
], ],
"categories": [ "categories": [
"arrows" "arrows"

View File

@@ -9,5 +9,5 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="m3 12 7-7v4h11v6H10v4z" /> <path d="M18 15h-6v4l-7-7 7-7v4h6v6z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 251 B

View File

@@ -0,0 +1,10 @@
{
"$schema": "../icon.schema.json",
"tags": [
"key",
"forward"
],
"categories": [
"arrows"
]
}

View File

@@ -0,0 +1,14 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5 9v6" />
<path d="M9 9h3V5l7 7-7 7v-4H9V9z" />
</svg>

After

Width:  |  Height:  |  Size: 270 B

View File

@@ -9,5 +9,5 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="m21 12-7-7v4H3v6h11v4z" /> <path d="M6 9h6V5l7 7-7 7v-4H6V9z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 248 B

View File

@@ -0,0 +1,16 @@
{
"$schema": "../icon.schema.json",
"tags": [
"keyboard",
"key",
"forward",
"caps lock",
"capitals",
"mac",
"button"
],
"categories": [
"arrows",
"development"
]
}

View File

@@ -0,0 +1,14 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M9 19h6" />
<path d="M9 15v-3H5l7-7 7 7h-4v3H9z" />
</svg>

After

Width:  |  Height:  |  Size: 273 B

View File

@@ -1,10 +1,15 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"keyboard",
"key", "key",
"forward" "forward",
"shift",
"mac",
"button"
], ],
"categories": [ "categories": [
"arrows" "arrows",
"development"
] ]
} }

View File

@@ -9,5 +9,5 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M9 21V10H5l7-7 7 7h-4v11z" /> <path d="M9 18v-6H5l7-7 7 7h-4v6H9z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 250 B

15
icons/arrow-down-0-1.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"ascending",
"numerical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-down-0-1.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 20V4" />
<rect x="15" y="4" width="4" height="6" ry="2" />
<path d="M17 20v-6h-2" />
<path d="M15 20h4" />
</svg>

After

Width:  |  Height:  |  Size: 364 B

15
icons/arrow-down-1-0.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"descending",
"numerical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-down-1-0.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 20V4" />
<path d="M17 10V4h-2" />
<path d="M15 10h4" />
<rect x="15" y="14" width="4" height="6" ry="2" />
</svg>

After

Width:  |  Height:  |  Size: 364 B

15
icons/arrow-down-a-z.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"ascending",
"alphabetical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-down-a-z.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 20V4" />
<path d="M20 8h-5" />
<path d="M15 10V6.5a2.5 2.5 0 0 1 5 0V10" />
<path d="M15 14h5l-5 6h5" />
</svg>

After

Width:  |  Height:  |  Size: 362 B

View File

@@ -0,0 +1,14 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"ascending"
],
"categories": [
"text",
"layout",
"arrows"
]
}

View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 20V4" />
<path d="M11 4h4" />
<path d="M11 8h7" />
<path d="M11 12h10" />
</svg>

After

Width:  |  Height:  |  Size: 331 B

18
icons/arrow-down-up.json Normal file
View File

@@ -0,0 +1,18 @@
{
"$schema": "../icon.schema.json",
"tags": [
"bidirectional",
"direction",
"swap",
"switch",
"network",
"mobile data",
"internet",
"sort",
"reorder",
"move"
],
"categories": [
"arrows"
]
}

16
icons/arrow-down-up.svg Normal file
View File

@@ -0,0 +1,16 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 20V4" />
<path d="m21 8-4-4-4 4" />
<path d="M17 4v16" />
</svg>

After

Width:  |  Height:  |  Size: 313 B

View File

@@ -0,0 +1,17 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"descending"
],
"aliases": [
"sort-desc"
],
"categories": [
"text",
"layout",
"arrows"
]
}

View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 20V4" />
<path d="M11 4h10" />
<path d="M11 8h7" />
<path d="M11 12h4" />
</svg>

After

Width:  |  Height:  |  Size: 331 B

15
icons/arrow-down-z-a.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"descending",
"alphabetical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-down-z-a.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 16 4 4 4-4" />
<path d="M7 4v16" />
<path d="M15 4h5l-5 6h5" />
<path d="M15 20v-3.5a2.5 2.5 0 0 1 5 0V20" />
<path d="M20 18h-5" />
</svg>

After

Width:  |  Height:  |  Size: 363 B

View File

@@ -9,8 +9,8 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<polyline points="17 11 21 7 17 3" /> <path d="M8 3 4 7l4 4" />
<line x1="21" x2="9" y1="7" y2="7" /> <path d="M4 7h16" />
<polyline points="7 21 3 17 7 13" /> <path d="m16 21 4-4-4-4" />
<line x1="15" x2="3" y1="17" y2="17" /> <path d="M20 17H4" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 313 B

View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"bidirectional",
"direction",
"swap",
"switch",
"transaction",
"reorder",
"move"
],
"categories": [
"arrows"
]
}

View File

@@ -0,0 +1,16 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m16 3 4 4-4 4" />
<path d="M20 7H4" />
<path d="m8 21-4-4 4-4" />
<path d="M4 17h16" />
</svg>

After

Width:  |  Height:  |  Size: 313 B

15
icons/arrow-up-0-1.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"ascending",
"numerical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-up-0-1.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
<rect x="15" y="4" width="4" height="6" ry="2" />
<path d="M17 20v-6h-2" />
<path d="M15 20h4" />
</svg>

After

Width:  |  Height:  |  Size: 363 B

15
icons/arrow-up-1-0.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"descending",
"numerical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-up-1-0.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
<path d="M17 10V4h-2" />
<path d="M15 10h4" />
<rect x="15" y="14" width="4" height="6" ry="2" />
</svg>

After

Width:  |  Height:  |  Size: 363 B

15
icons/arrow-up-a-z.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"ascending",
"alphabetical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-up-a-z.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
<path d="M20 8h-5" />
<path d="M15 10V6.5a2.5 2.5 0 0 1 5 0V10" />
<path d="M15 14h5l-5 6h5" />
</svg>

After

Width:  |  Height:  |  Size: 361 B

View File

@@ -8,6 +8,7 @@
"network", "network",
"mobile data", "mobile data",
"internet", "internet",
"sort",
"reorder", "reorder",
"move" "move"
], ],

View File

@@ -9,8 +9,8 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<polyline points="11 17 7 21 3 17" /> <path d="m21 16-4 4-4-4" />
<line x1="7" x2="7" y1="21" y2="9" /> <path d="M17 20V4" />
<polyline points="21 7 17 3 13 7" /> <path d="m3 8 4-4 4 4" />
<line x1="17" x2="17" y1="15" y2="3" /> <path d="M7 4v16" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 313 B

View File

@@ -9,6 +9,6 @@
], ],
"categories": [ "categories": [
"arrows", "arrows",
"coding" "development"
] ]
} }

View File

@@ -0,0 +1,17 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"ascending"
],
"aliases": [
"sort-asc"
],
"categories": [
"text",
"layout",
"arrows"
]
}

View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
<path d="M11 12h4" />
<path d="M11 16h7" />
<path d="M11 20h10" />
</svg>

After

Width:  |  Height:  |  Size: 332 B

View File

@@ -0,0 +1,14 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"descending"
],
"categories": [
"text",
"layout",
"arrows"
]
}

View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
<path d="M11 12h10" />
<path d="M11 16h7" />
<path d="M11 20h4" />
</svg>

After

Width:  |  Height:  |  Size: 332 B

15
icons/arrow-up-z-a.json Normal file
View File

@@ -0,0 +1,15 @@
{
"$schema": "../icon.schema.json",
"tags": [
"arrow",
"filter",
"sort",
"descending",
"alphabetical"
],
"categories": [
"text",
"layout",
"arrows"
]
}

17
icons/arrow-up-z-a.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 8 4-4 4 4" />
<path d="M7 4v16" />
<path d="M15 4h5l-5 6h5" />
<path d="M15 20v-3.5a2.5 2.5 0 0 1 5 0V20" />
<path d="M20 18h-5" />
</svg>

After

Width:  |  Height:  |  Size: 362 B

View File

@@ -6,7 +6,9 @@
"stop", "stop",
"forbidden", "forbidden",
"prohibited", "prohibited",
"error" "error",
"circle",
"slash"
], ],
"categories": [ "categories": [
"account" "account"

View File

@@ -1,7 +1,11 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"cup" "cup",
"lab",
"chemistry",
"experiment",
"test"
], ],
"categories": [ "categories": [
"science", "science",

View File

@@ -9,6 +9,6 @@
], ],
"categories": [ "categories": [
"text", "text",
"coding" "development"
] ]
} }

View File

@@ -8,7 +8,7 @@
"categories": [ "categories": [
"brands", "brands",
"currency", "currency",
"coding", "development",
"money" "money"
] ]
} }

View File

@@ -9,5 +9,5 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M18.6 9.82c-.52-.21-1.15-.25-1.54.15l-7.07 7.06c-.39.39-.36 1.03-.15 1.54.12.3.16.6.16.93a2.5 2.5 0 0 1-5 0c0-.26-.24-.5-.5-.5a2.5 2.5 0 1 1 .96-4.82c.5.21 1.14.25 1.53-.15l7.07-7.06c.39-.39.36-1.03.15-1.54-.12-.3-.21-.6-.21-.93a2.5 2.5 0 0 1 5 0c.01.26.24.49.5.5a2.5 2.5 0 1 1-.9 4.82Z" /> <path d="M17 10c.7-.7 1.69 0 2.5 0a2.5 2.5 0 1 0 0-5 .5.5 0 0 1-.5-.5 2.5 2.5 0 1 0-5 0c0 .81.7 1.8 0 2.5l-7 7c-.7.7-1.69 0-2.5 0a2.5 2.5 0 0 0 0 5c.28 0 .5.22.5.5a2.5 2.5 0 1 0 5 0c0-.81-.7-1.8 0-2.5Z" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 416 B

View File

@@ -12,7 +12,6 @@
"clone" "clone"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -8,7 +8,6 @@
"pull" "pull"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -9,7 +9,6 @@
], ],
"categories": [ "categories": [
"development", "development",
"coding",
"security" "security"
] ]
} }

View File

@@ -9,7 +9,6 @@
], ],
"categories": [ "categories": [
"development", "development",
"coding",
"security" "security"
] ]
} }

View File

@@ -11,7 +11,6 @@
"repository" "repository"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -9,7 +9,6 @@
"delete" "delete"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -3,7 +3,12 @@
"tags": [ "tags": [
"read", "read",
"library", "library",
"plain language" "plain language",
"done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"gaming", "gaming",

View File

@@ -8,7 +8,6 @@
"add" "add"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -9,7 +9,6 @@
"dashed" "dashed"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -8,7 +8,6 @@
"push" "push"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -9,7 +9,6 @@
"delete" "delete"
], ],
"categories": [ "categories": [
"development", "development"
"coding"
] ]
} }

View File

@@ -5,7 +5,6 @@
"ai" "ai"
], ],
"categories": [ "categories": [
"coding",
"development" "development"
] ]
} }

View File

@@ -7,7 +7,6 @@
"categories": [ "categories": [
"shapes", "shapes",
"gaming", "gaming",
"coding",
"development" "development"
] ]
} }

View File

@@ -12,7 +12,6 @@
"categories": [ "categories": [
"shapes", "shapes",
"gaming", "gaming",
"coding",
"development" "development"
] ]
} }

View File

@@ -6,7 +6,6 @@
"insect" "insect"
], ],
"categories": [ "categories": [
"coding",
"development" "development"
] ]
} }

View File

@@ -5,7 +5,12 @@
"time", "time",
"event", "event",
"confirm", "confirm",
"subscribe" "subscribe",
"done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"time" "time"

View File

@@ -5,7 +5,13 @@
"time", "time",
"event", "event",
"confirm", "confirm",
"subscribe" "subscribe",
"schedule",
"done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"time" "time"

View File

@@ -3,7 +3,11 @@
"tags": [ "tags": [
"done", "done",
"received", "received",
"double" "double",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"notifications" "notifications"

View File

@@ -1,7 +1,11 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"done" "done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"notifications", "notifications",

View File

@@ -1,7 +1,11 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"done" "done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"notifications", "notifications",

View File

@@ -1,7 +1,11 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"done" "done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"notifications", "notifications",

View File

@@ -1,7 +1,11 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"done" "done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"notifications" "notifications"

View File

@@ -9,7 +9,6 @@
"console" "console"
], ],
"categories": [ "categories": [
"coding",
"development", "development",
"shapes" "shapes"
] ]

View File

@@ -10,7 +10,6 @@
], ],
"categories": [ "categories": [
"arrows", "arrows",
"coding",
"development", "development",
"shapes" "shapes"
] ]

View File

@@ -1,9 +1,17 @@
{ {
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"arrow" "arrow",
"caret",
"keyboard",
"key",
"mac",
"control",
"ctrl",
"button"
], ],
"categories": [ "categories": [
"arrows" "arrows",
"coding"
] ]
} }

12
icons/circuit-board.json Normal file
View File

@@ -0,0 +1,12 @@
{
"$schema": "../icon.schema.json",
"tags": [
"computing",
"electricity",
"electronics"
],
"categories": [
"science",
"development"
]
}

17
icons/circuit-board.svg Normal file
View File

@@ -0,0 +1,17 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect width="18" height="18" x="3" y="3" rx="2" />
<path d="M11 9h4a2 2 0 0 0 2-2V3" />
<circle cx="9" cy="9" r="2" />
<path d="M7 21v-4a2 2 0 0 1 2-2h4" />
<circle cx="15" cy="15" r="2" />
</svg>

After

Width:  |  Height:  |  Size: 408 B

View File

@@ -9,9 +9,8 @@
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
> >
<path d="M5.51 18.49a12 12 0 0 0 16.12.78c.49-.41.49-1.15.03-1.6L6.34 2.33a1.08 1.08 0 0 0-1.6.03A12 12 0 0 0 5.5 18.5Z" /> <path d="M21.66 17.67a1.08 1.08 0 0 1-.04 1.6A12 12 0 0 1 4.73 2.38a1.1 1.1 0 0 1 1.61-.04z" />
<path d="M8.34 15.66a8 8 0 0 0 10.4.78c.54-.4.54-1.16.06-1.64L9.2 5.2c-.48-.48-1.25-.48-1.64.06a8 8 0 0 0 .78 10.4Z" /> <path d="M19.65 15.66A8 8 0 0 1 8.35 4.34" />
<path d="m14 10-5.5 5.5" /> <path d="m14 10-5.5 5.5" />
<path d="M14 10v8" /> <path d="M14 17.85V10H6.15" />
<path d="M14 10H6" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 534 B

After

Width:  |  Height:  |  Size: 417 B

View File

@@ -2,7 +2,12 @@
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"copied", "copied",
"pasted" "pasted",
"done",
"todo",
"tick",
"complete",
"task"
], ],
"categories": [ "categories": [
"text" "text"

View File

@@ -7,7 +7,6 @@
"network" "network"
], ],
"categories": [ "categories": [
"coding",
"development" "development"
] ]
} }

View File

@@ -8,6 +8,6 @@
], ],
"categories": [ "categories": [
"text", "text",
"coding" "development"
] ]
} }

View File

@@ -8,6 +8,6 @@
], ],
"categories": [ "categories": [
"text", "text",
"coding" "development"
] ]
} }

View File

@@ -5,7 +5,6 @@
], ],
"categories": [ "categories": [
"brands", "brands",
"development", "development"
"coding"
] ]
} }

View File

@@ -5,7 +5,6 @@
], ],
"categories": [ "categories": [
"brands", "brands",
"development", "development"
"coding"
] ]
} }

View File

@@ -2,11 +2,12 @@
"$schema": "../icon.schema.json", "$schema": "../icon.schema.json",
"tags": [ "tags": [
"keyboard", "keyboard",
"key",
"mac",
"cmd", "cmd",
"terminal", "button"
"prompt"
], ],
"categories": [ "categories": [
"coding" "development"
] ]
} }

Some files were not shown because too many files have changed in this diff Show More