@esds-sangam/icons 0.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.
Potentially problematic release.
This version of @esds-sangam/icons might be problematic. Click here for more details.
- package/README.md +25 -0
- package/dist/index.d.ts +1185 -0
- package/dist/index.js +3430 -0
- package/package.json +35 -0
package/README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# @esds-sangam/icons
|
|
2
|
+
|
|
3
|
+
Lightweight React icon library for the ESDS Sangam Design System. All icons are SVG-based, accessible, and designed to match the Sangam UI components.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @esds-sangam/icons
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```tsx
|
|
14
|
+
import { Add, Close, InfoFilled } from "@esds-sangam/icons";
|
|
15
|
+
|
|
16
|
+
export function Example() {
|
|
17
|
+
return (
|
|
18
|
+
<div className="flex items-center gap-3">
|
|
19
|
+
<Add aria-hidden className="h-4 w-4 text-primary-600" />
|
|
20
|
+
<InfoFilled aria-label="Information" className="h-4 w-4 text-neutral-600" />
|
|
21
|
+
<Close aria-label="Close" className="h-4 w-4 text-neutral-500 hover:text-neutral-900" />
|
|
22
|
+
</div>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
```
|