
Product
Introducing Custom Pull Request Alert Comment Headers
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
@abiser/railwind
Advanced tools
An experimental React component library built with Tailwind CSS and TypeScript
React components on rails
A React component library built on top of tailwind css using TypeScript.
The purpose of this library is to generate a core set of React components that are statically typed using tailwind configuration options.
A benefit of using tailwind css is that you don't write css, you select it from existing prebuilt classes. If these types are then mapped to TypeScript types and assigned to props we now can control the styling of components at the code level as the compiler will not allow for any props that do not exist in the generated types. We can then expose these types in a visual editor to streamline the ui workflow by presenting the options in the editor when building ui components.
Railwind should be imported into a project in order to generate a design system for a specific use case. Example: A ui library for a specific organization that is used in several applications where the styling and theme are consistent.
Run yarn run build-watch
run the playground
script to visually test changes
cd
to playground
directory, run yarn install
and then run yarn run start
to start up the example playground to test railwind components
Example: Adding a new color
Add new color to tailwind.config.js
Run yarn run scripts:generateTailwindTypes
to generate updates types
Run yarn run build:railwind
to generate new stylesheet
Bump the version in package.json
Run yarn run build
to build a production package
Run npm publish
FAQs
An experimental React component library built with Tailwind CSS and TypeScript
We found that @abiser/railwind demonstrated a not healthy version release cadence and project activity because the last version was released 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 now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.