Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@canonical/react-ds-core

Package Overview
Dependencies
Maintainers
22
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canonical/react-ds-core

This package provides the core React components and utilities for Canonical's Design System.

latest
Source
npmnpm
Version
0.10.0-experimental.5
Version published
Maintainers
22
Created
Source

Canonical Design System - React Core

This package provides the core React components and utilities for Canonical's Design System.

Getting Started

Install the package in a React 19 project with bun add @canonical/react-ds-core.

Then, import components from the package and use them in your React components. An example of a component using the Button component:

// MyComponent.tsx
import { Button } from "@canonical/react-ds-core";

function MyComponent() {
  return (
    <div>
      <Button
        appearance={"positive"}
        label={"Click me"}
        onClick={() => alert("hello world!")}
      />
    </div>
  );
}

export default MyComponent;

FAQs

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