Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitlab.com/JankTech/templ-icons

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab.com/JankTech/templ-icons

  • v0.0.1
  • Source
  • Go
  • Socket score

Version published
Created
Source

Templ Icons

Templ Icons is a modified mirror of Tailwind's Hero Icons converted into Templ templates. This package allows developers to utilize Hero Icons within their Templ templates, enabling the addition of high-quality SVG icons to web projects with ease and flexibility.

Installation

To use Templ Icons in your project, ensure you have Go installed and your project is initialized with Go Modules. Then, run the following command to add the package to your project:

go get gitlab.com/JankTech/templ-icons

Usage

Import Templ Icons into a Templ template You can then include an icon in your Templ template by calling the appropriate icon function. For example, to add an "arrow left" outline icon:

package main

import (
    "gitlab.com/JankTech/templ-icons/heroicons"
)

templ Component() {
  @heroicons.ArrowLeftOutline()
  <div>
    <!-- other markup -->
  </div>
}

FAQs

Package last updated on 11 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc