@keyline-icons/react 0.9.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -11
- package/dist/duotone.d.ts +416 -0
- package/dist/duotone.js +1811 -563
- package/dist/fill.d.ts +466 -0
- package/dist/fill.js +1443 -45
- package/dist/index.d.ts +263 -0
- package/dist/index.js +814 -25
- package/dist/sharp-duotone.d.ts +416 -0
- package/dist/sharp-duotone.js +1772 -524
- package/dist/sharp-fill.d.ts +466 -0
- package/dist/sharp-fill.js +1436 -38
- package/dist/sharp-two-tone.d.ts +1119 -0
- package/dist/sharp-two-tone.js +3352 -0
- package/dist/sharp.d.ts +263 -0
- package/dist/sharp.js +807 -18
- package/dist/two-tone.d.ts +1119 -0
- package/dist/two-tone.js +3352 -0
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
<img src="https://keylineicons.com/icon.svg" width="56" height="56" alt="Keyline Icons logo">
|
|
2
|
+
|
|
1
3
|
# @keyline-icons/react
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
1,114 icons on one 24×24 grid, as React components. Built for shadcn/ui, free
|
|
4
6
|
under MIT.
|
|
5
7
|
|
|
6
8
|
[keylineicons.com](https://keylineicons.com) to browse the full set.
|
|
@@ -38,20 +40,30 @@ scope. There is no provider, no context and no theme object.
|
|
|
38
40
|
|
|
39
41
|
## Notes
|
|
40
42
|
|
|
41
|
-
**
|
|
43
|
+
**Four styles, two corner treatments, eight entry points.**
|
|
42
44
|
|
|
43
45
|
```tsx
|
|
44
|
-
import { Bell } from "@keyline-icons/react" // stroke,
|
|
45
|
-
import { Bell } from "@keyline-icons/react/
|
|
46
|
-
import { Bell } from "@keyline-icons/react/
|
|
46
|
+
import { Bell } from "@keyline-icons/react" // stroke, 1,114 icons
|
|
47
|
+
import { Bell } from "@keyline-icons/react/two-tone" // two-tone, 1,114 icons
|
|
48
|
+
import { Bell } from "@keyline-icons/react/duotone" // duotone, 1,114 icons
|
|
49
|
+
import { Bell } from "@keyline-icons/react/fill" // fill, 1,114 icons
|
|
50
|
+
|
|
51
|
+
import { Bell } from "@keyline-icons/react/sharp" // the same four,
|
|
52
|
+
import { Bell } from "@keyline-icons/react/sharp/two-tone" // cut sharp,
|
|
53
|
+
import { Bell } from "@keyline-icons/react/sharp/duotone" // with butt caps and
|
|
54
|
+
import { Bell } from "@keyline-icons/react/sharp/fill" // square corners
|
|
47
55
|
```
|
|
48
56
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
57
|
+
Sharp covers exactly the names the rounded entry point beside it does, and the
|
|
58
|
+
export is called the same thing in both, so switching a file over is a change
|
|
59
|
+
to the import path and nothing else.
|
|
60
|
+
|
|
61
|
+
Separate imports rather than one component with a `weight` prop, so an app
|
|
62
|
+
ships only the styles it imports. Since 1.0.0 all four cover every name.
|
|
63
|
+
`two-tone` is what `/duotone` exported until 0.9.0, the outline over a 40%
|
|
64
|
+
plate; `/duotone` now has no outline, a grey body with the detail at full
|
|
65
|
+
strength. If you imported `/duotone` before 1.0.0 and want the old look, change
|
|
66
|
+
the path to `/two-tone`.
|
|
55
67
|
|
|
56
68
|
**Each icon carries its own root attributes** rather than inheriting a shared
|
|
57
69
|
preset. Some drawings are solid by definition, `square-half` and the other
|