
Security News
Rust RFC Proposes a Security Tab on crates.io for RustSec Advisories
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.
@odx/foundation
Advanced tools
The @odx/foundation package is a core part of the ODX Design System, providing essential building blocks for creating consistent and cohesive user interfaces. This package includes foundational components, styles, and utilities to ensure a unified design across all ODX projects.
To install @odx/foundation and it's peer dependencies in your project, run the following command:
npm install @odx/foundation @odx/icons@next --save
We depend on the Lit package for building web elements because it offers a lightweight, efficient framework with a simple syntax for creating fast, reusable elements. Its powerful templating system ensures high performance and seamless user experience. Lit is also highly interoperable, making it easy to integrate with other frameworks and libraries.
Ensure that you have followed the installation and setup instructions for our design tokens library.
Once installed, you can import the foundational components and styles into your project:
// Load core icons
import '@odx/icons';
import '@odx/icons/core';
// Load components
import '@odx/foundation/loader';
// Load styles (in JS)
import '@odx/foundation/styles';
/* Load styles (in CSS) */
@import '@odx/foundation/dist/styles.css';
We currently do not provide any framework specific integration for the @odx/foundation package. However, you can easily integrate the web components into your framework of choice by following the standard practices for using web components in that framework.
import { Directive, input } from '@angular/core';
@Directive({
selector: 'odx-title',
host: { '[attr.size]': 'size() || null' },
})
export class Title {
size = input<'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl'>();
}
See Lit documentation for more information on how to use web components in React.
For detailed documentation on how to use the @odx/foundation package, including examples and best practices, please visit our documentation.
For questions, feedback, or support, please reach out to us through our contact page.
FAQs
A library of Web Component building blocks for ODX
The npm package @odx/foundation receives a total of 670 weekly downloads. As such, @odx/foundation popularity was classified as not popular.
We found that @odx/foundation demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.

Security News
/Research
Socket found a Rust typosquat (finch-rust) that loads sha-rust to steal credentials, using impersonation and an unpinned dependency to auto-deliver updates.

Research
/Security Fundamentals
A pair of typosquatted Go packages posing as Google’s UUID library quietly turn helper functions into encrypted exfiltration channels to a paste site, putting developer and CI data at risk.