> For the complete documentation index, see [llms.txt](https://bryan-guner.gitbook.io/duke/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bryan-guner.gitbook.io/duke/docs/component-creation/definitionofdone.md).

# DefinitionOfDone

## Component Creation - Definition of Done

***

Table of Contents:

1. Intro
2. Technical Overview
3. Practical Overview
4. Definition of Done
5. Sitecore

***

## Our "Definition of Done" for a Component

You will know your component is complete if it is properly formatted, you have the requisite files outlined in the previous section (where applicable), and your files are free of TypeScript and ESLint warnings. Additionally, the appearance of the component should match the look of the Abstract design if one is provided, and if any Acceptance Criteria is provided, that should be met as well. We prioritize accessibility as well, so your component should pass \[WCAG2.1 a11y requirements]\(https: //[www.w3.org/WAI/standards-guidelines/wcag/glance/](http://www.w3.org/WAI/standards-guidelines/wcag/glance/)). This can be validated via the Storybook plugin we have set up, as well as in the browser using Lighthouse.

Lastly, you will need to have written some unit tests to check the core functionality of your component and ensure that those are passing.

### Checklist

***

In summary, your component should do the following...

* [ ] be properly formatted, following the ESLint, Prettier, and Typescript rules included with our project
* [ ] have the files necessary to run your component
* [ ] match the appearance of the Abstract file from the Design team
* [ ] address any provided Acceptance Criteria
* [ ] meet WCAG2.1 accessibility requirements
* [ ] include unit tests

***

If you have met all of these requirements, then you, intrepid developer, have a component worthy of submission to PR!

< Previous Next >

Intro | Technical Overview | Practical Overview | Typescript | Sitecore | Definition of Done | Analytics
