React & SCSS components
Docs
https://pages.github.axa.com/axa-winterthur/react-web-toolkit
Contributing
Contributions are very welcome. Please respect our principles (see below) and stick to the eslint and stylelint rules.
Principles
- Embrace vertical rhythm (
8px
baseline) - Margins only on the bottom
- Split mixins (and placeholder selectors) and classes into diffrent files
- NEVER
@extend .clazz
(@extend %selector
is ok tough) - Stick to design.axa.com as close as possible
Run the toolkit dev environment locally
yarn
ornpm install
yarn start
ornpm start
- Open
http://localhost:6006
Components
- Accordion
- Alerts
- Buttons
- Cards
- Find an agent
- Footer
- Header
- Homepage cover
- Icons editorial
- interstitial
- Inverted image
- Legal
- Links
- Loading spinner
- Offer presentation
- Product cover
- Steps
- Tabs
- Text CTA
- Text CTA 2
- Forms