Skip to content

feat: complete Svelte icon library with auto-generation and watch script - #3

Open
Joseph4sure wants to merge 2 commits into
MotionMind2007:mainfrom
Joseph4sure:feature/kivex-svelte
Open

feat: complete Svelte icon library with auto-generation and watch script#3
Joseph4sure wants to merge 2 commits into
MotionMind2007:mainfrom
Joseph4sure:feature/kivex-svelte

Conversation

@Joseph4sure

Copy link
Copy Markdown
Contributor

Kivex Svelte

Official Svelte package for Kivex Icons — a fast, lightweight, tree-shakeable SVG icon library with full TypeScript support.

Installation

Using npm:

npm install kivex-svelte

Using yarn:

yarn add kivex-svelte

Using pnpm:

pnpm add kivex-svelte

Using bun:

bun add kivex-svelte

Usage

Import the icons you need:

<script lang="ts">
  import { Users, Heart, Home } from 'kivex-svelte';
</script>

<Users size={32} color="#3b82f6" />
<Heart size={28} color="red" />
<Home size={40} />

Props

Every icon accepts the following props:

Prop Type Default Description
size number | string 24 Sets the icon width and height
color string currentColor Sets the stroke color
strokeWidth number 2 Sets the SVG stroke width
class string Adds CSS classes
style string Applies inline styles
...rest Any Passes additional SVG attributes

Examples

Change Size

<Users size={48} />

Change Color

<Users color="#10b981" />

Change Stroke Width

<Users strokeWidth={1.5} />

Add CSS Class

<Users class="icon-primary" />

Tree Shaking

Kivex Svelte supports tree shaking, so only the icons you import are included in your final bundle.

<script lang="ts">
  import { Search } from 'kivex-svelte';
</script>

<Search />

License

MIT © Kivex

@MotionMind2007

Copy link
Copy Markdown
Owner

Hi @Joseph4sure, I have manually merged and integrated your kivex-svelte package into the main branch to keep our release workflow clean. The tests passed flawlessly! Thank you so much for this amazing contribution—your name has been officially credited. I'm closing this PR now since the files are already in main.

@Joseph4sure

Joseph4sure commented Jul 14, 2026 via email

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants