
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@rettangoli/ui
Advanced tools
src/
├── primitives/ # Basic web components built from scratch, no dependencies
└── components/ # Pre-built components using @rettangoli/fe
vt/ # Uses @rettangoli/vt visual testing library
├── reference/ # Golden screenshots for visual testing
└── specs/ # HTML test specifications
Use npx to install rtgl cli globally. You run into issues if try to use bunx.
npx i -g rtgl
Install dependencies
bun install
Bundles the code to be used for rettangoli-vt
bun run build:dev
Uses rettangoli-vt to generates test screens
bun run vt:generate
Test for any change using rettangoli-vt
bun run vt:report
Accept the changes by updating the reference screenshots
bun run vt:accept
You can then access the generates screens
bun run serve
Open http://localhost:3000/view to see the specification screens
Use via CDN iife (Immediately Invoked Function Expression) us JSDeliver
Primitives only. This might be useful if you want a light weight version and use only the primitives.
<script src="https://cdn.jsdelivr.net/npm/@rettangoli/ui@latest/dist/rettangoli-layout.iife.min.js"></script>
All primitives and components
<script src="https://cdn.jsdelivr.net/npm/@rettangoli/ui@latest/dist/rettangoli-ui.iife.min.js"></script>
Install package
npm install @rettangoli/ui
Import the package. This allows you to configure more flexible options and to treeshake only the code that you need.
import { RettangoliView } '@rettangoli/ui';
customElements.define("rtgl-view", RettangoliView({}));
Make sure you import a stylesheet file from your html file. Example
FAQs
A UI component library for building web interfaces.
We found that @rettangoli/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.