Icon button

Small accessible button wey show only icon to start action.

Input fields, choices, validation, dates and native form behaviour.

lr-icon-button

import '@aceshooting/lyra-ui/components/lr-icon-button.js';

Example

import '@aceshooting/lyra-ui/components/lr-icon-button.js';
import '@aceshooting/lyra-ui/components/lr-icon.js';

<div style="display:flex;gap:8px;align-items:center;justify-content:center">
<lr-icon-button icon="search" aria-label="Search">
</lr-icon-button>
<lr-icon-button icon="add" aria-label="Add">
</lr-icon-button>
<lr-icon-button icon="trash" aria-label="Delete">
</lr-icon-button>
<lr-icon-button icon="close" aria-label="Close" disabled>
</lr-icon-button>
</div>

Read di guide (for English)

Components wey relate

  • Text input — One-line text field wey fit show label, hint and validation error.
  • Country picker — E dey select country and territory code with translated name, flag and search wey you fit turn on.
  • Money picker — E dey select currency code with translated name, symbol and search wey you fit turn on.
  • Time zone picker — E dey select time zone ID from arranged list, with search wey you fit turn on.
  • Unit picker — E dey select measurement unit with translated name, symbol and search wey you fit turn on.
  • Language picker — Dropdown wey change active locale from languages registered inside the library.