Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/twa-dev/Mark42

Simple lightweight tree-shakable UI library for TWA
https://github.com/twa-dev/Mark42

bot telegram twa-dev uikit

Last synced: 11 days ago
JSON representation

Simple lightweight tree-shakable UI library for TWA

Awesome Lists containing this project

README

        

# Mark42
Mark42 is a simple lightweight tree-shakable UI library for [Telegram Web Apps (TWA)](https://core.telegram.org/bots/webapps).

## Installation
```
npm i @twa-dev/mark42
```

## Documentation
Welcome to our [Storybook](https://twa-dev.github.io/Mark42/).

## Motivation
Telegram supports different themes and color schemes.
It can be dark or light. On MacOS, iOS and iPadOS messenger follows apple design guidelines,
on other platforms (Desktop, Web, Android) it looks like a material interface.

If you want to build a TWA that looks like a native part of Telegram, you have to follow same principles.
Mark42 helps you with that. Each component supports different themes and color schemes out of the box.
Therefore, you can focus on logic of your application and Mark42 will make it fancy.

## Usage example
```tsx
import { InitialsAvatar } from '@twa-dev/mark42';

```