Socket
Book a DemoInstallSign in
Socket

@nubase/react

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nubase/react

React components and utilities for nubase

0.1.0
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@nubase/react

React components and utilities for the nubase ecosystem.

Installation

npm install @nubase/react @nubase/core

Usage

import { SchemaForm, Button, TextInput } from '@nubase/react';
import '@nubase/react/styles.css'; // Import base styles

// Example usage
function MyComponent() {
  return (
    <SchemaForm onSubmit={handleSubmit}>
      <TextInput name="username" label="Username" />
      <Button type="submit">Submit</Button>
    </SchemaForm>
  );
}

Styling

The package includes CSS files that you can import:

// Base component styles
import '@nubase/react/styles.css';

// Theme styles (optional)
import '@nubase/react/theme.css';

Components

Form Components

  • SchemaForm - Form component with schema validation
  • FormExample - Example form implementation

Form Controls

  • Button - Customizable button component
  • TextInput - Text input with validation
  • FormControl - Base form control wrapper
  • Label - Form label component

Table Components

  • Table utilities for displaying data

Utilities

  • Type utilities and helper functions

Storybook

This package includes Storybook stories for component development:

npm run storybook

Peer Dependencies

  • React 19+

Contributing

Please see the main repository for contributing guidelines.

License

MIT

Keywords

react

FAQs

Package last updated on 17 Jun 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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.