Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oslokommune/punkt-react

Package Overview
Dependencies
Maintainers
3
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oslokommune/punkt-react

React komponentbibliotek til Punkt, et designsystem laget av Oslo Origo

  • 2.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
392
decreased by-66%
Maintainers
3
Weekly downloads
 
Created
Source

Bruk av punkt-react

React komponenter

Dette repoet inneholder Punkt sine UI-komponenter for React. Komponentene er laget for å fungere sammen med @oslokommune/punkt-assets og @oslokommune/punkt-css.

Se punkt-react i bruk i en Vite-app med React og TypeScript.

📝 Forutsetninger

Peer dependencies:

  • nodejs 16.15
  • react >= 18
  • @oslokommune/punkt-assets >= 1.0
  • @oslokommune/punkt-css >= 1.0

🚀 Kom i gang - npm

1. Installer komponentbiblioteket

npm add @oslokommune/punkt-react

2. Importer komponentene

// src/App.tsx

import { PktButton, PktInput } from "@oslokommune/punkt-react";

...

  <PktInput label="First name" id="firstName" />
  <PktButton skin="primary" variant="icon-left" iconName="user">
    Testbutton
  </PktButton>

🧩 Komponentbiblioteket

For beskrivelse av hvordan ta i bruk hver enkelt komponent se om komponenter.

🔢 Versjonering

Punkt bruker Semantic Versioning 2.0.0 for versjonering av pakkene.

👮 Lisens

Punkt er distribuert under MIT-lisens for åpen kildekode.

NPM License

Keywords

FAQs

Package last updated on 13 Mar 2023

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc