Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.32 KB

README.md

File metadata and controls

56 lines (44 loc) · 1.32 KB

Flowbite Qwik Icon Components

Include popular Flowbite icons easily in your Qwik projects with `flowbite-qwik-icons` 🚀

Total Downloads Latest release License


Installation

Simply install the package with your package manager of choice:

npm i flowbite-qwik-icons
yarn add flowbite-qwik-icons
pnpm add flowbite-qwik-icons

Usage

Icon size and color are inherited by default

import { IconVolumeUpSolid } from 'flowbite-qwik-icons'

export const MyComponent = component$(() => {
  return (
    <div style={{ color: 'red', fontSize: '40px' }}>
      <IconVolumeUpSolid />
    </div>
  )
})

Icon can be used as component props

import { IconVolumeUpSolid } from 'flowbite-qwik-icons'

export const MyComponent = component$(() => {
  return <Button prefix={IconVolumeUpSolid}>Next</Button>
})