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

@seedgrid/fe-components

v2026.3.13

Published

[![npm version](https://img.shields.io/npm/v/%40seedgrid%2Ffe-components)](https://www.npmjs.com/package/@seedgrid/fe-components) [![npm downloads](https://img.shields.io/npm/dm/%40seedgrid%2Ffe-components)](https://www.npmjs.com/package/@seedgrid/fe-comp

Downloads

4,526

Readme

@seedgrid/fe-components

npm version npm downloads TypeScript

Biblioteca de componentes React da SeedGrid, com foco em produtividade de formularios, consistencia visual e integracao com React Hook Form.

Sumario

Instalacao

Instalacao recomendada (uso geral):

pnpm add @seedgrid/fe-components @seedgrid/fe-theme react-hook-form lucide-react

Se voce for usar SgTextEditor, instale tambem os peers do TipTap:

pnpm add @tiptap/core @tiptap/pm @tiptap/react @tiptap/starter-kit \
  @tiptap/extension-underline @tiptap/extension-link @tiptap/extension-image \
  @tiptap/extension-text-align @tiptap/extension-text-style @tiptap/extension-color \
  @tiptap/extension-highlight @tiptap/extension-subscript @tiptap/extension-superscript \
  @tiptap/extension-font-family

Alternativas:

npm i @seedgrid/fe-components @seedgrid/fe-theme react-hook-form lucide-react
yarn add @seedgrid/fe-components @seedgrid/fe-theme react-hook-form lucide-react

Uso rapido

1) Theme provider (recomendado)

import { SeedThemeProvider } from "@seedgrid/fe-theme";

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html lang="pt-BR">
      <body>
        <SeedThemeProvider
          initialTheme={{
            seed: "#16803D",
            mode: "auto",
            radius: 12
          }}
        >
          {children}
        </SeedThemeProvider>
      </body>
    </html>
  );
}

2) Formulario com React Hook Form

"use client";

import React from "react";
import { useForm } from "react-hook-form";
import { SgButton, SgInputEmail, SgInputText, SgStack } from "@seedgrid/fe-components";

type FormValues = {
  nome: string;
  email: string;
};

export default function ExampleForm() {
  const { register, handleSubmit } = useForm<FormValues>({
    defaultValues: { nome: "", email: "" }
  });

  const onSubmit = (data: FormValues) => {
    console.log(data);
  };

  return (
    <form onSubmit={handleSubmit(onSubmit)}>
      <SgStack gap={12}>
        <SgInputText
          id="nome"
          name="nome"
          register={register}
          label="Nome"
          required
          requiredMessage="Informe o nome."
        />
        <SgInputEmail
          id="email"
          name="email"
          register={register}
          label="Email"
          required
        />
        <SgButton label="Salvar" type="submit" />
      </SgStack>
    </form>
  );
}

Componentes por categoria

  • Inputs: SgInputText, SgInputEmail, SgInputPassword, SgInputDate, SgInputPhone, SgInputCPF, SgInputCNPJ, SgInputCPFCNPJ, SgTextEditor, SgDatatable, entre outros.
  • Buttons: SgButton, SgSplitButton, SgFloatActionButton.
  • Layout: SgGrid, SgStack, SgCard, SgPanel, SgDockLayout, SgDockScreen, SgScreen.
  • Menus: SgMenu, SgDockMenu, SgBreadcrumb.
  • Digits: SgFlipDigit, SgFadeDigit, SgMatrixDigit, SgNeonDigit, SgSevenSegmentDigit.
  • Gadgets: SgClock, SgCalendar, SgQRCode, SgLinearGauge, SgRadialGauge, SgStringAnimator.
  • Providers/Hooks: SgEnvironmentProvider, SgTimeProvider, useSgPersistentState, useSgTime, useSgPersistence.

Para exemplos completos e props de cada componente, use o showcase local em apps/showcase.

Creditos e licencas de terceiros

Principais bibliotecas usadas pelo pacote:

| Biblioteca | Licenca | Uso principal | | --- | --- | --- | | @pqina/flip | MIT | Animacao do SgFlipDigit | | @codesandbox/sandpack-react | Apache-2.0 | SgPlayground (editor e preview) | | qrcode.react | ISC | Renderizacao de QR Code | | @tiptap/react | MIT | Base do SgTextEditor | | lucide-react | ISC | Iconografia em varios componentes | | @dnd-kit/core | MIT | Interacoes de drag and drop |

Lista de creditos em formato de pagina: apps/showcase/src/app/credits/page.tsx.

Checklist para publicar no npm

  1. Atualizar este README.md.
  2. Garantir version correta no package.json.
  3. Rodar build e typecheck do pacote:
pnpm -C packages/seedgrid-fe-components typecheck
pnpm -C packages/seedgrid-fe-components build
  1. Validar pacote antes de publicar:
npm publish --dry-run
  1. Publicar:
npm publish --access public

Suporte

  • Issues: https://github.com/SeedGrid/seedgrid-fe-components/issues
  • Repositorio: https://github.com/SeedGrid/seedgrid-fe-components
  • Home do pacote: https://github.com/SeedGrid/seedgrid-fe-components/tree/main/packages/seedgrid-fe-components

Licenca do pacote

MIT

Consulte o arquivo LICENSE deste pacote para o texto completo.