Skip to content
View Markdown

Label ​

Text with a symbol or another icon beside it.

tsx
import { Label } from '@satinhq/kit'

Example ​

Read the example, then change its values in the code.

Choose a symbol ​

Use symbol with a name from the symbol catalog. See SymbolImage.

Supply another icon ​

Use icon for a React node when the icon is not a catalog symbol. Put the title in children.

Good to know ​

  • The example displays Books with a book symbol and Favorites with a star symbol, each beside its text.

API ​

Scroll horizontally to read every column.

PropTypeDescription
childrenReactNodeThe text.
symbolSymbolNameOptional catalog symbol.
iconReactNodeOptional custom icon.

Related: Quick start, List, Screen.

:::

Satin runs on the Lumen rendering engine and is open source under the MIT License.