
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@volue/design-sizing
Advanced tools
@volue/design-sizingSizing primitives/tokens to be used across Volue's products
npm install @volue/design-sizing --save
# or
yarn add @volue/design-sizing
In JavaScript, design token names are formatted in lower camelCase. Tokens are exported as nested object structure.
const tokens = require('@volue/design-sizing');
console.log(tokens.spacing.xs); // 0.25rem
In JSON, design token names are formatted in SNAKE_CASE.
const tokens = require('@volue/design-sizing/dist/index.json');
console.log(tokens['SIZE_SPACING_XS']); // 0.25rem
Sass variables and map keys are formatted in kebab-case.
// Using variables
@import '~@volue/design-sizing/dist/index';
div {
padding: $size-spacing-xs;
}
FAQs
Sizing primitives for Volue design primitives
We found that @volue/design-sizing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.