UNPKG

cookie-test-app

Version:

testing

65 lines (36 loc) 1.6 kB
# Getting Started Acres builds unity, providing a single source of truth that drives efficiency and creates consistency across all digital environments at Meijer. Here you’ll find foundational design language, components, and tokens—everything you need to create consistent and compelling digital experiences. ## Installation Install the Acres-UI library as a dev dependency. <div> ``` npm i acres-ui ``` </div> ## Usage Import the component you require from Acres-UI library. We are going to use the Button component as an example. <div> ``` import {Notification} from 'acres-ui' ``` </div> 2. Below are four easy steps to create a Notification element. <div> ``` 1. Create the Notification element with a self-closing tag. Example: <Notification /> 2. Add the color attribute and set its value to one of the preset colors. Example: <Notification color="success" /> 3. Add the title attribute and set its value to the desired notification title. Example: <Notification color="success" title="Some Title" /> 4. Add the subtitle attribute and set its value to the desired notification subtitle. Example: <Notification color="success" title="Some Title" subtitle="Some subtitle" /> ``` </div> ## Contribute Development contributions is very much welcome and appreciated. Please email me at ton.tran@meijer.com if you have any questions, comments or concerns. ## Storybook Visit https://TBD.com if you like to learn more. ## Changelog Visit https://TBD.com/?path=/story/welcome-changelog--page