New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@superblocksteam/custom-components

Package Overview
Dependencies
Maintainers
1
Versions
1435
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superblocksteam/custom-components

Official Superblocks SDK for developing custom components

latest
npmnpm
Version
1.14.4
Version published
Weekly downloads
811
3.44%
Maintainers
1
Weekly downloads
 
Created
Source

@superblocksteam/custom-components

Provides utility functions to help develop custom components that can be used in Superblocks Applications.

Usage

import React from "react";
import { useSuperblocksContext } from "@superblocksteam/custom-components";
import { type Props, type EventTriggers } from "./types";

export default function Component({
  count,
}: Props) {
  const {
    updateProperties,
    events: {
      onChange,
    },
  } = useSuperblocksContext<Props, EventTriggers>();

  return (
    <button
      onClick={() => {
        updateProperties({ count: count + 1 });
        onChange();
      }}
    >Increment</button>
  );
}

Keywords

superblocks

FAQs

Package last updated on 03 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts