Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@volusion/element-components

Package Overview
Dependencies
Maintainers
10
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volusion/element-components

Collection of reusable components across Element blocks

latest
npmnpm
Version
2.3.1
Version published
Maintainers
10
Created
Source

Components for the Volusion Element platform

The components in this repository are injected by default into all Element blocks. This lets users configure their components globally across all theme pages.

Button

Button component allows for both a Primary and Secondary button, in either a button or link tag. Both config specs are the same.

Button config spec

Prop NameOptionsDefault ValueSite Designer EnabledDescription
classNamestring''falseallows for passing classes to component to extend current classes
buttonStyle'Primary' or 'Secondary''primary'falseUse primaryButtonStyles or secondaryButtonStyles
hrefstring''falsepassing href as a prop will cause the component to render as an anchor tag
textColorstring'#333'truebutton text color
hoverTextColorstring'#333'truebutton text hover color
backgroundColorstring'#333'truebutton background color
hoverBackgroundColorstring'#333'truebutton background hover color
borderColorstring'#333'truebutton border color
hoverBorderColorstring'#333'truebutton border color
fontWeight'300', '400', '500', '600', '700', '800', '900''700'truebutton font weight
textTransform'none', 'capitalize', 'lowercase', 'uppercase'nonetruebutton text transform
borderThickness'basic', 'thin', 'thick', 'none'basictruebutton border thickness
size'small', 'medium', 'large', 'block'mediumtruebutton size
rounded'none', 'small', 'medium', 'large','pill'nonetruebutton round corners
growOnHovertrue or falsefalsetruebutton round corners

Development

npm install
npm run watch

Open up the component's index.html in any browser.

To add a new component, simply drop a new folder in the src directory with the desired name, and use the existing components as a guide.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Deployment

npm run release

Contributing

We're very excited that you're interested in contributing! At present, we are already accepting issues and PR. We do already have a Code of Conduct in place.

Code of Conduct

Though we are not accepting contributions for this repo at the moment, we still have a Code of Conduct in place.

License

© 2018 onwards by Volusion MIT License

FAQs

Package last updated on 12 Feb 2026

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