flutty_heroicons 1.1.1 copy "flutty_heroicons: ^1.1.1" to clipboard
flutty_heroicons: ^1.1.1 copied to clipboard

A Flutter port of HeroIcons — beautiful hand-crafted SVG icons by Tailwind, packaged for use with IconData.

Flutty HeroIcons Port #

pub package

A Flutter port of HeroIcons.
Includes Solid and Outline variants, exposed as IconData pairs through the HeroIcons API.


🎨 Usage #

Import the package:

import 'package:flutty_heroicons/flutty_heroicons.dart';
import 'package:flutter/material.dart';

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return const Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        HeroIcon(
          HeroIcons.academicCap.solid,
          size: 32,
          color: Colors.blue,
        ),
        SizedBox(width: 16),
        HeroIcon(
          HeroIcons.academicCap.outline,
          size: 32,
          color: Colors.red,
        ),
      ],
    );
  }
}

Switching dynamically #

HeroIcon(
  HeroIcons.academicCap.resolve(HeroIconStyle.outline),
  size: 28,
  color: Colors.green,
);

📝 License #

This package bundles the HeroIcons project by Tailwind Labs.
HeroIcons are licensed under the MIT License.

0
likes
160
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter port of HeroIcons — beautiful hand-crafted SVG icons by Tailwind, packaged for use with IconData.

Homepage
Repository (GitHub)
View/report issues

Topics

#icons #heroicons #flutter-ui #design #tailwind

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutty_heroicons