hmcts / design-system

One place for service teams to find styles, components and patterns for designing HMCTS government services.

Home Page:https://hmcts-design-system.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non component code views will not require tabs

trevorsaint opened this issue · comments

We will need a non-tabbed code snippet view for elements that may not require a Nunjucks macro.

GDS do this here:
https://design-system.service.gov.uk/styles/typography/

They just expose the code block without tabs. Might be something we need. Just a suggestion.

Interesting, so I've now added the Add Another component. It still pulls in the Nunjucks version (but it's just plain HTML anyway. Not a biggie, but perhaps we need to make the example component configurable:

{ nunjucks: true/false }