6.0.3 • Published 8 months ago

@designervoid/ton-design-system v6.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

NPM Version
Telegram System Design DAO Forum

TON Design System

https://ton.org/en/brand-assets

TDS Wiki

Home
Quick start
dotlottie
yanot-charts ton-connect

TDS Highlights

  • Advantages of TailwindCSS

    TailwindCSS offers flexibility and scalability with its utility-first approach.
    It allows for fast, customizable UI development without imposing design constraints.

  • Awesome DX (Developer Experience)

    TailwindCSS improves developer experience by offering instant feedback, comprehensive documentation, and tools like rsbuild for optimized development workflows.

  • Atomic CSS

    TailwindCSS automates the generation of atomic classes, where each class does one specific thing, ensuring small, reusable, and predictable CSS.

  • Design Tokens

    Design tokens provide a system for values like colors, typography, and spacing.
    The example includes the golden ratio for generating dynamic spacing, font sizes, and more, ensuring design consistency across the app.

  • Lightweight

    TailwindCSS is lightweight, especially with tools like patterns-vanjs, which offer a lean, production-ready solution for creating fast and optimized products.

  • Ready to go patterns

    A folder (registry/patterns) with pre-built, customizable UI patterns, enabling quick prototyping and reusable components for rapid development.
    Checkout patterns.

  • CLI

    You can copy projects and components from the registry with the CLI. See TDS Wiki Quick Start.

Usage

Atomic Components using Declarative components with Raw Framework

import { tags } from './package/raw'

const { div, button } = tags;

export const Button = () => {
  return (
    div(
      { className='px-2 py-2 h-full flex' }, 
      button(
        { class: "custom-classname", variant="default" }, 
        'Cross-platform button (default)'
      )
    );
};

More examples

Screenshot

License

MIT

4.0.0

12 months ago

4.2.0

12 months ago

4.2.0-0

11 months ago

5.0.3

8 months ago

5.0.2

11 months ago

5.0.1

11 months ago

5.0.0

11 months ago

6.0.1

8 months ago

6.0.0

8 months ago

6.0.3

8 months ago

6.0.2

8 months ago

4.2.1-0

11 months ago

1.3.0

1 year ago

1.2.2

1 year ago

1.2.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.1

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.22

2 years ago

1.0.23

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago