Skip to content
Projects

Aniket-508/heroicons-animated

View on GitHub

About

Beautifully animated heroicons πŸ’œ

Other Projects

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+3
in 15 days
+4
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original
Vercel OSS Program

heroicons-animated is beautifully animated heroicons.

preview

Demo β†’ heroicons-animated

Sponsorship β†’ heroicons-animated/sponsorship

Project Structure

heroicons-animated/
β”œβ”€β”€ docs/                          # Documentation website (Next.js)
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ react/                     # @heroicons-animated/react
β”‚   β”œβ”€β”€ vue/                       # @heroicons-animated/vue
β”‚   β”œβ”€β”€ svelte/                    # @heroicons-animated/svelte
β”‚   β”œβ”€β”€ solid/                     # @heroicons-animated/solid
β”‚   β”œβ”€β”€ angular/                   # @heroicons-animated/angular
β”‚   β”œβ”€β”€ react-native/              # @heroicons-animated/react-native
β”‚   β”œβ”€β”€ preact/                    # @heroicons-animated/preact
β”‚   β”œβ”€β”€ astro/                     # @heroicons-animated/astro
β”‚   └── flutter/                   # heroicons_animated

Installation

React

pnpm add @heroicons-animated/react motion
import { BeakerIcon } from "@heroicons-animated/react";

export default function App() {
  return (
    <>
      <BeakerIcon className="size-6" />
    </>
  );
}

Vue

pnpm add @heroicons-animated/vue motion-v
<script setup>
import { BeakerIcon } from "@heroicons-animated/vue";
</script>

<template>
  <BeakerIcon :size="32" color="orange" :stroke-width="2.5" />
</template>

Svelte

pnpm add @heroicons-animated/svelte
<script>
  import { Beaker } from '@heroicons-animated/svelte'
</script>

<Beaker size={32} color="orange" strokeWidth={2.5} />

Solid

pnpm add @heroicons-animated/solid solid-motionone
import { BeakerIcon } from "@heroicons-animated/solid";

function App() {
  return <BeakerIcon size={32} color="orange" strokeWidth={2.5} />;
}

Angular

pnpm add @heroicons-animated/angular
import { BeakerIcon } from "@heroicons-animated/angular";

@Component({
  imports: [BeakerIcon],
  template: `<ha-beaker [size]="32" color="orange" [strokeWidth]="2.5" />`
})
export class AppComponent {}

React Native

pnpm add @heroicons-animated/react-native
import { BeakerIcon } from "@heroicons-animated/react-native";

export default function App() {
  return <BeakerIcon size={32} color="orange" strokeWidth={2.5} />;
}

Preact

pnpm add @heroicons-animated/preact
import { BeakerIcon } from "@heroicons-animated/preact";

function App() {
  return <BeakerIcon class="size-6" />;
}

Astro

pnpm add @heroicons-animated/astro
---
import { BeakerIcon } from "@heroicons-animated/astro";
---

<BeakerIcon size={32} color="orange" strokeWidth={2.5} />

Flutter

dependencies:
  heroicons_animated:
    git:
      url: https://github.com/heroicons-animated/heroicons-animated.git
      path: packages/flutter
import 'package:flutter/material.dart';
import 'package:heroicons_animated/heroicons_animated.dart';

HeroiconAnimatedIcon(
  icon: beaker,
  size: 32,
  color: Colors.orange,
  trigger: AnimationTrigger.onTap,
);

Star History

Contributing

We welcome contributions to heroicons-animated! Please read our contributing guidelines on how to submit improvements and new icons.

Credits

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions or just want to say hi, feel free to reach out to me on X πŸ‘‰ @alaymanguy.

Explore related projects

Loading…