Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/symfony/ux-icons
Renders local and remote SVG icons in your Twig templates.
https://github.com/symfony/ux-icons
icons javascript svg symfony symfony-ux twig ux
Last synced: 6 days ago
JSON representation
Renders local and remote SVG icons in your Twig templates.
- Host: GitHub
- URL: https://github.com/symfony/ux-icons
- Owner: symfony
- License: mit
- Created: 2024-03-09T18:13:53.000Z (10 months ago)
- Default Branch: 2.x
- Last Pushed: 2024-10-22T20:38:53.000Z (2 months ago)
- Last Synced: 2024-10-29T17:18:51.245Z (about 2 months ago)
- Topics: icons, javascript, svg, symfony, symfony-ux, twig, ux
- Language: PHP
- Homepage: https://symfony.com/bundles/ux-icons
- Size: 121 KB
- Stars: 23
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# UX Icons
Renders local and remote [SVG icons](https://ux.symfony.com/icons) in your Twig templates.
```twig
{# Twig function.. #}
{{ ux_icon('mdi:check', {class: 'w-4 h-4'}) }}{# .. or Twig Component #}
{# Render the "check" icon from "mdi" pack with class #}
```
Check out [ux.symfony.com/icons](https://ux.symfony.com/icons) for a demo!
## Sponsor
The Symfony UX packages are [backed][1] by [Mercure.rocks][2].
Create real-time experiences in minutes! Mercure.rocks provides a realtime API service
that is tightly integrated with Symfony: create UIs that update in live with UX Turbo,
send notifications with the Notifier component, expose async APIs with API Platform and
create low level stuffs with the Mercure component. We maintain and scale the complex
infrastructure for you!Help Symfony by [sponsoring][3] its development!
> [!IMPORTANT]
> **This repository is a READ-ONLY sub-tree split**.\
> See https://github.com/symfony/ux to create issues or submit pull requests.## Resources
- [Documentation](https://symfony.com/bundles/ux-icons/current/index.html)
- [Report issues](https://github.com/symfony/ux/issues) and
[send Pull Requests](https://github.com/symfony/ux/pulls)
in the [main Symfony UX repository](https://github.com/symfony/ux)[1]: https://symfony.com/backers
[2]: https://mercure.rocks
[3]: https://symfony.com/sponsor