Skip to content

Repository files navigation

dsr-test

Kitchen-sink Vite app for trying @cfpb/design-system-react as a standalone consumer — how components look and interact together outside Storybook.

The landing page is a consumerfinance.gov-style welcome layout (SkipNav, Header, Hero, Layout, Tabs, forms, Expandable, Well, FooterCfGov) using Pattern A.

Setup

yarn install
yarn dev

Uses published packages:

  • @cfpb/design-system-react ^2.0.1
  • @cfpb/cfpb-design-system ^5.8.1 (peer)

Styles are loaded in src/main.tsx via import '@cfpb/design-system-react/index.css' (Pattern A). Edit src/App.tsx to add or exercise components.

GitHub Pages

After the first deploy, set the repo’s Pages source to the gh-pages branch (root) if it is not already.

About

Test application to test DSR imports

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages