Box component
About
This is an early alpha and subject to radical change or removal.
This project supports React sites using Visual Framework components, like vf-react It has reusable componentised code and config.
Usage
- Install this npm package (see Install section)
- Install and import your desired component:
-
import { VfCard } from "@visual-framework/vf-card/vf-card.react.js";
and then invoke
-
- Use your desirec component
<VfCard card_title="test" variant="striped" newTheme="primary" card_image="https://acxngcvroo.cloudimg.io/v7/https://www.embl.org/files/wp-content/uploads/2020/04/SCHOOLS_1011_ells-learninglab_hd_01_Cool_500px.jpg" card_text="im some text" card_image__alt="people"></VfCard>
Supported components
React support is in its early stages and only a few components have support. (PRs are welcome)
- vf-card
- vf-button
Install
This repository is distributed with npm. After installing npm and yarn, you can install with this command.
$ yarn add --dev @visual-framework/vf-extensions-react