Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ausbom/typography

Package Overview
Dependencies
Maintainers
5
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ausbom/typography

> Typography is an important part of creating visual hierarchy. The way information is presented to users is as important as the information itself.

  • 0.5.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
92
decreased by-49.17%
Maintainers
5
Weekly downloads
 
Created
Source

@ausbom/typography

Typography is an important part of creating visual hierarchy. The way information is presented to users is as important as the information itself.

Installation

npm install @ausbom/typography

Usage

Typography can be used via the bom-typography Sass mixin or the Typography React component. A combination of the two might also suit your project.

Sass mixin
.my-heading {
  @include bom-typography(
    $style-name: 'heading-l',
    $dark: true,
    $large: false
  )
}
Properties

<Property name="$style-name" type="string" required description="The name of the style to be applied" list={styles.join(',')} />

React component
import Typography from '@ausbom/typography'
import React from 'react'

<Typography
  as="h3"
  styleName="heading-l"
  dark
  isLarge
>
  My heading text
</Typography>

FAQs

Package last updated on 26 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc