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

@telus-uds/components-base

Package Overview
Dependencies
Maintainers
0
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telus-uds/components-base

Base components

  • 2.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Base components

The UDS base components are a set of low level react-native components themed by UDS themes.

Refer to the UDS monorepo README for details.

Install


npm install @telus-uds/components-base

To ensure proper functionality, it is important to install the brand palette and theme since the components package does not include a default theme. For example, you can install the Telus brand palette and theme by running the following command:


npm install @telus-uds/palette-allium @telus-uds/theme-allium

This will provide the necessary components, along with the corresponding palette and theme, for your project.

Usage

  1. Export component as a named export from root
  2. Wrap the UDS component in an BaseProvider
  3. Include the BaseProvider provider once at the root of your application (e.g. in App.jsx)

import { BaseProvider, Button } from '@telus-uds/components-base'
import alliumTheme from '@telus-uds/theme-allium'
...
  <BaseProvider defaultTheme={alliumTheme}>
    ...
    <Button onPress={() => {}}>Hello World!</Button>
    ...
  </BaseProvider>
...

Keywords

FAQs

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

  • 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