Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Linking Directly to a Pattern

Dave Olsen edited this page Jul 14, 2013 · 6 revisions

The Pattern Lab website allows you to send a direct link to a particular pattern to a client or another developer.

Creating a Link from the Pattern View

Brad has to add this feature to the Pattern Lab website.

Manually Creating the Link

It's also very easy to manually create a link. Simply append ?p=pattern-name to the end of the address for your Pattern Lab website. For example, if we wanted to link to the templates-article pattern we'd add the following to the address for our Pattern Lab website:

?p=templates-article

Direct links support the shorthand partials syntax found in the PHP version of Pattern Lab. Just provide part of a pattern name and Pattern Lab will attempt to resolve it.