# terminal_icons

URL: /kida/api/utils/terminal_icons/
Section: utils
Description: Terminal icon definitions for Kida template engine.

Provides an ``IconSet`` proxy that templates use to emit Unicode or ASCII icons.
Each icon is returned as a ``Styled`` string so it bypasses ANSI sanitization.

Usage in templates::

    {{ icons.check }} All tests passed
    {{ icons.arrow_r }} Next step

Thread-Safety:
    ``IconSet`` is immutable after construction. Safe for concurrent access.

---

> For a complete page index, fetch /kida/llms.txt.

Open LLM text
(/kida/api/utils/terminal_icons/index.txt)

Share with AI

Ask Claude
(https://claude.ai/new?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fkida%2Fapi%2Futils%2Fterminal_icons%2Findex.txt)

Ask ChatGPT
(https://chatgpt.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fkida%2Fapi%2Futils%2Fterminal_icons%2Findex.txt)

Ask Gemini
(https://gemini.google.com/app?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fkida%2Fapi%2Futils%2Fterminal_icons%2Findex.txt)

Ask Copilot
(https://copilot.microsoft.com/?q=Please%20help%20me%20understand%20this%20documentation%3A%20%2Fkida%2Fapi%2Futils%2Fterminal_icons%2Findex.txt)

Module

#
`utils.terminal_icons`

Terminal icon definitions for Kida template engine.

Provides an`IconSet`proxy that templates use to emit Unicode or ASCII icons.
Each icon is returned as a`Styled`string so it bypasses ANSI sanitization.

Usage in templates::

```
{{ icons.check }} All tests passed
{{ icons.arrow_r }} Next step
```

Thread-Safety:
`IconSet`is immutable after construction. Safe for concurrent access.

1Class

## Classes

`IconSet`

3

▼

Proxy object for accessing terminal icons from templates.

Attribute access returns a ``Styled`` st…

Proxy object for accessing terminal icons from templates.

Attribute access returns a`Styled`string containing either the Unicode
symbol or its ASCII fallback, depending on the`unicode`flag.

#### Methods

Internal Methods
3

▼

`__init__`

1

▼

`def __init__(self, *, unicode: bool = True) -> None`

##### Parameters

Name
Type
Description

`unicode`
`—`

Default:`True`

`__getattr__`

1

`Styled`

▼

`def __getattr__(self, name: str) -> Styled`

##### Parameters

Name
Type
Description

`name`
`—`

##### Returns

`Styled`

`__repr__`

0

`str`

▼

`def __repr__(self) -> str`

##### Returns

`str`
