# usym
**Repository Path**: ricsy/usym
## Basic Information
- **Project Name**: usym
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: ISC
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-02-08
- **Last Updated**: 2026-02-08
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Welcome to usym ๐
> A comprehensive Unicode symbols library with full TypeScript support. Contains 2000+ meticulously organized symbols, emojis, and icons for modern applications.
## โจ Features
- ๐ฏ **900+ Symbols** - Comprehensive Unicode coverage with emojis, icons, and special characters
- ๐ **Type Safe** - Full TypeScript support with autocomplete and type checking
- ๐ฆ **Tree Shakeable** - Import only what you need, zero dependencies
- โก **fewer Dependencies** - Lightweight and fast
- ๐จ **Well Organized** - Symbols categorized logically for easy discovery
- ๐ง **Utility Functions** - Helper functions for common symbol operations
- ๐ **Browser & Node** - Works in both browser and Node.js environments
## ๐ฆ Installation
```bash
npm install usym
# or
pnpm add usym
# or
yarn add usym
```
## ๐ Quick Start
### Basic Usage
```typescript
import { SYMBOLS } from 'usym'
// Status indicators
console.log(`${SYMBOLS.STATUS.SUCCESS} Operation completed`)
// => โ
Operation completed
console.log(`${SYMBOLS.STATUS.ERROR} Something went wrong`)
// => โ Something went wrong
console.log(`${SYMBOLS.STATUS.WARNING} Please check configuration`)
// => โ ๏ธ Please check configuration
```
### Type-safe Access
```typescript
import { Core } from 'usym'
// Safe symbol retrieval with fallback
console.log(Core.get('STATUS', 'SUCCESS', 'โ'))
// => โ
console.log(Core.get('STATUS', 'WARNING', 'โ '))
// => โ ๏ธ
if (Core.has('EMOTION', 'GRINNING')) {
console.log('Grinning emoji is available!')
}
// => Grinning emoji is available!
```
## ๐ Categories
| Category | Description | Examples |
|------------------|-----------------------------------------------------------------|----------------|
| **`ARROW`** | Arrows and direction symbols | โฌ๏ธ โฌ๏ธโฌ
๏ธ โก๏ธ โ๏ธ |
| **`DECORATIVE`** | Box-drawing and geometric decorative elements | โ โ โ โ โ |
| **`EMOTION`** | Facial expressions and emojis | ๐ ๐ข ๐ ๐ค ๐ |
| **`MATH`** | Mathematical operators, constants, and symbols | + โ ร รท = |
| **`NATURE`** | Nature, animals, plants, and weather | ๐ณ ๐ฑ ๐ ๐ โ๏ธ |
| **`NETWORK`** | Network connectivity, security, and communication icons | ๐ถ ๐ ๐ ๐ก ๐ |
| **`OBJECT`** | Common objects, tools, electronic devices, and items | ๐จ ๐ช ๐ช ๐งฒ ๐งช |
| **`SHAPE`** | Geometric shapes, color blocks, and basic forms | ๐ด ๐ข โญ โค๏ธ โฌ |
| **`STATUS`** | Status indicators, markers, and feedback symbols | โ
โ โ ๏ธ ๐ โณ |
| **`TIME`** | Time, dates, seasons, and calendar elements | ๐ ๐
โ โฑ๏ธ โฐ |
| **`UI`** | User interface elements, controls, and actions | โ๏ธ ๐ ๐ ๐พ ๐จ |
| **`UNIT`** | Measurement units, currency symbols, and mathematical constants | โ โ m cm mg |
## ๐ ๏ธ Utility Functions
### Symbol Formatting
```typescript
import { Formatter } from 'usym'
// Create formatted status messages
console.log(Formatter.message('success', 'File saved'))
// => โ
File saved
console.log(Formatter.message('error', 'Upload failed'))
// => โ Upload failed
console.log(Formatter.message('loading', 'Processing...'))
// => โ Processing...
// Create progress bars
console.log(Formatter.progressBar(75, 100, 20))
// =>
console.log(Formatter.colorStatus('green', 'Connected'))
// => ๐ข Connected
console.log(Formatter.colorStatus('red', 'Disconnected'))
// => ๐ด Disconnected
```
### Symbol Search
```typescript
import { Core } from 'usym'
// Search for symbols by name
console.log( Core.search('heart'))
// => Returns: [{ category: 'SHAPE', key: 'HEART', symbol: 'โค๏ธ', searchText: 'heart โค๏ธ shape' }, ...]
// Search for specific symbols
console.log( Core.search('hand'))
// => Returns: [{ category: 'EMOTION', key: 'HAND_OK', symbol: '๐', searchText: 'hand_ok ๐ emotion' }, ...]
```
## ๐ค Contributing
Contributions, issues, and feature requests are welcome! Feel free to check the https://github.com/ricsy/usym/issues.
1. Fork the project
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
## ๐ Show your support
Give a โญ๏ธ if this project helped you!
## ๐ฏ Roadmap
- [ ] Add more symbols and categories
- [ ] Create React component library
- [ ] Add SVG icon variants
- [ ] Create browser extension for symbol lookup
- [ ] Add CLI tool for symbol search
---