JSPM

@stacksjs/iconify-typcn

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 75
  • Score
    100M100P100Q10257F
  • License CC-BY-SA-4.0

Typicons icons for stx from Iconify

Package Exports

  • @stacksjs/iconify-typcn

Readme

@stacksjs/iconify-typcn

Typicons icons for stx from Iconify.

Installation

bun add @stacksjs/iconify-typcn

Usage

In stx templates

<script>
  import { home } from '@stacksjs/iconify-typcn'
  import { renderIcon } from '@stacksjs/iconify-core'

  export const homeIcon = renderIcon(home, { size: 24, color: 'currentColor' })
</script>

<div class="icon">
  {!! homeIcon !!}
</div>

In TypeScript/JavaScript

import { home, account, settings } from '@stacksjs/iconify-typcn'
import { renderIcon } from '@stacksjs/iconify-core'

const svg = renderIcon(home, {
  size: 24,
  color: '#000000',
})

Available Icons

This package contains 336 icons from Typicons.

License

CC BY-SA 4.0

License: https://creativecommons.org/licenses/by-sa/4.0/

Credits