> ## Documentation Index
> Fetch the complete documentation index at: https://unicon.rocks/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> The fastest way to add icons to your Laravel app, literally.

## Installing Unicon

Unicon is a [Laravel] package distributed on [Packagist] via [Composer].

Run the following command to install the package in your project.

```
composer require hedger/unicon
```

[Laravel]: https://laravel.com

[Packagist]: https://packagist.org

[Composer]: https://getcomposer.org

## Rendering an icon

Unicon provides an `icon` Blade component that you can use to render any icon.

```html
<x-icon name="heroicons:clock" class="w-6 h-6" />
```

The `name` attribute is the combination of the prefix and the icon name, separated
by a colon. For example, the `clock` icon from the [Heroicons] collection is
`heroicons:clock`.

[Heroicons]: https://iconify.design/icon-sets/heroicons


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.