Skip to content
styles and components for ryan rampersad sites and apps
TypeScript JavaScript
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Ryan Components

This is a package that contains many common styles and components for sites and apps with Ryan Rampersad branding.

This package is primarily developed with Gatsby consumers in mind. Any environment suitable to host react components and styled components should also work.

npm (scoped) npm bundle size (scoped) GitHub code size in bytes GitHub



To use this package as a consumer:

yarn add @ryanrampersad/ryan-components

via npm


To use this package as a consumer after installation, import components that you need:

import { FullHero, HeroBody, BrandTitle } from "@ryanrampersad/ryan-components";

export function Screen() {
  return <div>


For development purposes, this package uses yalc to mitigate issues with yarn link adding erroneous duplicated dependencies. For more information about this issue, refer to the styled components documentation about bundling and related topics, and consult this issue.

Please install yalc to contribute to this package.

To build this package:

yarn build

To watch for changes and automatically rebuild:

yarn watch

To watch for changes, automatically rebuild and automatically yalc push (update local consumers copy of the package):

yarn dev

This command can be used in conjunction, for example, with gatsby start to automatically rebuild the consumer when this package's changes are pushed.

Note: if yarn dev does not work initially, try yalc publish to add this package to the yalc store.


This package may assume some specific fonts are available. These fonts must be provided by the consumers of this package.

See the fonts documentation for details.

Gatsby html.js

Please review how you might customize your html.js file when using this package.

See the Gatsby html.js documentation.

You can’t perform that action at this time.