Skip to content
This repository was archived by the owner on Feb 14, 2022. It is now read-only.

Commit d12ef0c

Browse files
committed
Add Heroicons v1 blog post
1 parent 962a2dd commit d12ef0c

File tree

3 files changed

+60
-0
lines changed

3 files changed

+60
-0
lines changed

src/pages/heroicons-v1/.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 80,
3+
"singleQuote": true,
4+
"semi": false
5+
}

src/pages/heroicons-v1/card.jpg

71.7 KB
Loading

src/pages/heroicons-v1/index.mdx

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
import { adamwathan } from '@/authors'
2+
import card from './card.jpg'
3+
4+
export const meta = {
5+
title: 'Heroicons v1.0',
6+
description: `Today we're releasing Heroicons v1.0, which includes over 450+ free icons in two styles, official React and Vue libraries, and Figma assets.`,
7+
date: '2021-03-29T19:00:00.000Z',
8+
authors: [adamwathan],
9+
image: card,
10+
footer: `
11+
<p>
12+
Want to start playing with it?
13+
<a href="https://heroicons.com" class="font-medium text-teal-500 hover:text-teal-600">
14+
Visit the Heroicons website →
15+
</a>
16+
</p>
17+
`,
18+
}
19+
20+
Just over a year ago we released the very first version of [Heroicons](https://heroicons.com), which is a set of beautiful UI icons we designed alongside Tailwind UI. Since then we've added tons of new icons, and designed and launched a dedicated web experience.
21+
22+
Today we're excited to finally release Heroicons v1.0, which includes over 450+ free icons in two styles, official React and Vue libraries, and Figma assets.
23+
24+
<!--more-->
25+
26+
<a href="https://heroicons.com">
27+
<img src={card} alt="Heroicons" />
28+
</a>
29+
30+
## React + Vue Libraries
31+
32+
In addition to grabbing the icons you need directly from the website, you can now install our official React and Vue libraries for quick and easy access to each icon as a dedicated component.
33+
34+
Here's what it looks like with React for example:
35+
36+
```js
37+
import { BeakerIcon } from '@heroicons/react/solid'
38+
39+
function MyComponent() {
40+
return (
41+
<div>
42+
<BeakerIcon className="h-5 w-5 text-blue-500" />
43+
<p>...</p>
44+
</div>
45+
)
46+
}
47+
```
48+
49+
[Check out the documentation](https://github.com/tailwindlabs/heroicons) on GitHub to learn more.
50+
51+
## Figma Assets
52+
53+
We've also published an official [Heroicons Figma file](https://www.figma.com/community/file/958423903283802665/heroicons) on our new Figma Community page!
54+
55+
It includes all the icons from Heroicons as individual Figma components so you can easily use them in your projects without having to manually import each SVG.

0 commit comments

Comments
 (0)