1.2.1 • Published 11 months ago

@bucketh/icons v1.2.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
11 months ago

Icons Bucketh

All svg of Material Symbols as Svelte components

Installation

You can install this package with your favorite package manager

# pnpm
pnpm i @bucketh/ui

# yarn
yarn add @bucketh/ui

# npm
npm install @bucketh/ui

Usage

<script lang="ts">
  import ChatIcon from '@bucketh/icons/ChatIcon.svelte';
  import CloudIcon from '@bucketh/icons/CloudIcon.svelte';
</script>

<div>
  <ChatIcon />
  <ChatIcon filled />
</div>

<div style="color: red">
  <CloudIcon />
  <CloudIcon filled />
</div>

Search icons

All material symbols are here but in pascal case and "Icon" suffixed (for example SettingsIcon or InfoIcon).

For named icons starting with number, added "Symbol" prefix, for example Symbol4kIcon and Symbol123Icon.

The icons ending in "-fill" are considered as variant and can be used with filled prop, for example home is <HomeIcon /> and home-fill is <HomeIcon filled />

(the svg were taken from @material-symbols/svg-400)

1.2.0

11 months ago

1.2.1

11 months ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago