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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@tray-tecnologia/design-system

v4.5.1

Published

Conjunto de diretrizes, componentes e padrões visuais e de código.

Readme

Como usar

Para usar o Design System no seu projeto, execute o comando:

npm install @tray-tecnologia/design-system

Importações

Todos os componentes podem ser importados individualmente pelo nome global do pacote.

import { Button } from '@tray-tecnologia/design-system';

Caso deseja adicionar o Design System como um plugin da sua aplicação Vue com as diretivas já instaladas, use:

import { DS } from '@tray-tecnologia/design-system/setup';

Caso desejar importar os filtros ou as diretivas disponibilizadas pelo Design System:

import { initials } from '@tray-tecnologia/design-system/filters';

Caso deseja usar somente as diretivas:

import directives from '@tray-tecnologia/design-system/directives';

Caso precisar qualquer coisa relacionada aos estilos disponibilizados:

import '@tray-tecnologia/design-system/theme';

Vale ressaltar que a importação acima não engloba os estilos individuais dos componentes, somente a base usada por todo o Design System. Estão incluídos: normalização, helpers, mixins, tokens, variáveis, formulários, tabelas e tooltips.

Versões

Para as últimas alterações e versões, visite releases.

Desenvolvimento

Configuração básica

Para auxiliar no desenvolvimento desse pacote, siga os passos abaixo para executá-lo em sem ambiente local.

  1. Clone esse repositório;
  2. Execute npm install para instalar as dependencias;
  3. Execute npm run dev para iniciar o desenvolvimento.

O projeto inclui uma instalação básica do Vue no qual poderá testar os componentes criados.

Usando localmente com outros projetos

Caso esteja trabalhando em alguma funcionalidade para o Design System e queira testar em outro projeto, siga os passos descritos.

  1. Execute npm install para instalar as dependencias;
  2. Execute npm link para criar um link simbólico do pacote no seu ambiente global;
  3. Acesse a pasta do outro projeto que deseja usar o Design System;
  4. Execute npm link @tray-tecnologia/design-system para usar a cópia do Design System loca no projeto;

Nesse modo, qualquer alteração realizada na pasta local do Design System deve refletir automaticamente no outro projeto.

Componentes Depreciados que serão removidos em breve

  • TableList
  • ButtonDarkMode
  • Breadcrumb
  • CardAnnotation
  • FrameAnnotation
  • CalloutCard
  • FormHelper
  • ListGroup
  • ProgressIndeterminate
  • Topbar
  • StatsItem
  • StatsGroup
  • IconButton
  • ButtonAction

Recomendamos não utilizar esses componentes em novos projetos, pois serão removidos em breve.

Documentação

O projeto inclui o Storybook, com instruções de uso dos componentes já criados. Para executar o Storybook basta executar npm run storybook.