News

Heroicons 2.0 are here

Published
Heroicons 2.0 are here image

The makers of Tailwind CSS released Heroicons 2.0, a set of 264 hand-crafted SVG icons for the web. These icons are redrawn from scratch and feature a 24px solid set:

You can either copy the SVG straight from the Heroicons website into your project, or use the first-party React and Vue libraries:

// React JS - npm install @heroicons/react
import { BeakerIcon } from '@heroicons/react/24/solid'
 
function MyComponent() {
return (
<div>
<BeakerIcon className="h-6 w-6 text-blue-500"/>
<p>...</p>
</div>
)
}

And here's what the Vue 3 integration looks like:

<template>
<div>
<BeakerIcon class="h-6 w-6 text-blue-500"/>
<p>...</p>
</div>
</template>
 
<script>
// Vue 3 - npm install @heroicons/vue
import { BeakerIcon } from '@heroicons/vue/24/solid'
 
export default {
components: { BeakerIcon }
}
</script>

Heroicons 2.0 also has a Figma file, which you can use in your design projects. Get started today by checking them out on heroicons.com.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Building EasyReply: How We Used Laravel to Unify Customer Support image

Building EasyReply: How We Used Laravel to Unify Customer Support

Read article
PostgreSQL Monitoring and Schema Linting for Laravel with Vacuum image

PostgreSQL Monitoring and Schema Linting for Laravel with Vacuum

Read article
PayZephyr: One Payment API for Stripe, Paystack, and PayPal image

PayZephyr: One Payment API for Stripe, Paystack, and PayPal

Read article
Bifrost Turns One With AI Builds and New Workflows image

Bifrost Turns One With AI Builds and New Workflows

Read article
Preview Blade Templates in macOS Finder with Quick Blade image

Preview Blade Templates in macOS Finder with Quick Blade

Read article
Artisan Debugging Commands in Laravel Telescope 5.24.0 image

Artisan Debugging Commands in Laravel Telescope 5.24.0

Read article