Hakushi.Icons (Hakushi v0.6.0)

Copy Markdown View Source

The icons of the kits and of the embed frame: Lucide icons (https://lucide.dev, ISC licence), drawn with strokes of currentColor, as Kotoba's toolbar draws its own.

<Hakushi.Icons.icon name="database" />

A kit's icon/0 and its elements' icons are names of this set (names/0).

Summary

Functions

Renders an icon of this set.

The names of the icons.

Functions

icon(assigns)

Renders an icon of this set.

Attributes

  • name (:string) (required) - a name of names/0.
  • size (:integer) - Defaults to 16.
  • class (:any) - Defaults to nil.

names()

@spec names() :: [String.t()]

The names of the icons.