npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@designervoid/ton-design-system

v4.2.0-0

Published

[![Telegram System Design DAO Forum][telegram-system-design-dao-badge]][telegram-system-design-dao-url]

Downloads

302

Readme

Telegram System Design DAO Forum

TON Design System

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

Package size

/
@designervoid/ton-design-system
/
lib/
folder
20.8 kB
package/
folder
13.3 kB
public/
folder
28.3 kB
LICENSE.md
text/markdown
1.09 kB
README.md
text/markdown
2.03 kB
package.json
application/json
516 B

verify on the npm code tab

Repository size

git count-objects -vH
count: 733
size: 3.45 MiB
in-pack: 1666
packs: 2
size-pack: 3.20 MiB
prune-packable: 55
garbage: 0
size-garbage: 0 bytes

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 stable patterns.

  • CLI

    You can copy projects and components from the registry with the CLI. See README.md#use-cli.

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

Use CLI

Don't Trust, Verify

Quick start

Copy patterns

  1. Init cli
npx "@designervoid/ton-design-system"@"4.2.0" cli -g
npx "@designervoid/ton-design-system"@"4.2.0" cli -g
Repository cloned successfully.
? What do you want to copy? › - Use arrow-keys. Return to submit.
❯   Project
    Component
  1. Choose pattern
✔ What do you want to copy? › Project
? Select the project to copy › - Use arrow-keys. Return to submit.
    README.md
    patterns-raw-library-rust-wasm
    patterns-raw-library-wat
    patterns-react
❯   patterns-vanjs
    raw-framework
    raw-library
  1. Enter new project name (instead of patterns-vanjs)
Repository cloned successfully.
✔ What do you want to copy? › Project
✔ Select the project to copy › patterns-vanjs
? Enter your project name › copied-patterns-vanjs
  1. Wait for install
Repository cloned successfully.
✔ What do you want to copy? › Project
✔ Select the project to copy › patterns-vanjs
✔ Enter your project name … copied-patterns-vanjs
Project copied successfully.
Detected pnpm!
Lockfile is up to date, resolution step is skipped
Packages: +261
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 261, reused 261, downloaded 0, added 261, done

dependencies:
+ vanjs-core 1.5.2

devDependencies:
+ @biomejs/biome 1.9.4
+ @rsbuild/core 1.0.19
+ @types/jsdom 21.1.7
+ autoprefixer 10.4.20
+ cssnano 7.0.6
+ jsdom 25.0.1
+ postcss 8.4.47
+ tailwindcss 3.4.14
+ typescript 5.6.2
+ vitest 2.1.2

Done in 5.3s
Dependencies installed successfully.
Cleaning up...
Cleanup complete.
  1. Enter copied-patterns-vanjs
cd copied-patterns-vanjs
  1. Install @designervoid/ton-design-system
pnpm add "@designervoid/ton-design-system"@"4.2.0"   
  1. Edit tailwind.config.js
const { tdsTheme } = require("../../package/index");

Change to

const { tdsTheme } = require("@designervoid/ton-design-system");

Copy components

npx "@designervoid/ton-design-system"@"4.2.0" cli -g

Init tailwind

npx "@designervoid/ton-design-system"@"4.2.0" cli -t

Init TDS

npx "@designervoid/ton-design-system"@"4.2.0" cli -tds

License

MIT