
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
@graphprotocol/gds-react
Advanced tools
React components for The Graph Design System.
pnpm add @graphprotocol/gds-react
This package requires the following peer dependencies:
pnpm add react react-dom react-is tailwindcss
Ensure Tailwind CSS is installed and configured in your project (preferably with Vite).
Replace the tailwind import in your main CSS file with @graphprotocol/gds-react:
- @import 'tailwindcss';
+ @import '@graphprotocol/gds-react';
Register source paths relative to your CSS file:
@import '@graphprotocol/gds-react';
+ @source '../src';
@graphprotocol/gds-react disables Tailwind's default content scanning as an optimization measure, so you must explicitly register your source paths using @source directives. Make sure to include all paths where Tailwind classes are used.
Wrap your app with GDSProvider:
import { GDSProvider } from '@graphprotocol/gds-react'
function App() {
return <GDSProvider>{/* your app */}</GDSProvider>
}
The provider accepts optional props:
theme - 'dark' (default), 'light', or 'system'direction - 'ltr' (default) or 'rtl'language - defaults to 'en' as long as direction is 'ltr'import { Button, Card, Input } from '@graphprotocol/gds-react'
function Example() {
return (
<Card>
<Input label="Enter text..." />
<Button variant="primary">Submit</Button>
</Card>
)
}
@graphprotocol/gds-react - Styled components@graphprotocol/gds-react/base - Base/primitive (mostly unstyled) components@graphprotocol/gds-react/hooks - React hooks that are useful when working with GDS components@graphprotocol/gds-react/icons - React components for gds-icons@graphprotocol/gds-react/utils - React-specific utility functionsMIT
FAQs
React components for The Graph Design System
The npm package @graphprotocol/gds-react receives a total of 93 weekly downloads. As such, @graphprotocol/gds-react popularity was classified as not popular.
We found that @graphprotocol/gds-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 22 open source maintainers collaborating on the project.
Did you know?

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.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.