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

@devseed-ui/typography

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devseed-ui/typography

devseed UI Kit Typography

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
120
decreased by-37.5%
Maintainers
3
Weekly downloads
 
Created
Source

@devseed-ui/typography

  import { Heading } from '@devseed-ui/typography';

Guidelines and examples

Heading

Heading is a default component to display action in a page.

Variation

Heading supports color changes, but it is tied to the theme:

  <DevseedUiThemeProvider>
    <Heading variation="primary">
      Primary
    </Heading>
    <Heading variation="secondary">
      Secondary
    </Heading>
  </DevseedUiThemeProvider>
Size

Heading supports the following sizes:

  • xxsmall
  • xsmall
  • small
  • medium
  • large
  • xlarge
  • xxlarge
  • jumbo
  <DevseedUiThemeProvider>
    <Heading size="xxsmall">
      Extra extra Small
    </Heading>
    <Heading size="xsmall">
      Extra Small
    </Heading>
    <Heading size="small">
      Small
    </Heading>
    <Heading size="medium">
      Medium
    </Heading>
    <Heading size="large">
      Large
    </Heading>
    <Heading size="xlarge">
      Extra Large
    </Heading>
    <Heading size="xxlarge">
      Extra extra Large
    </Heading>
    <Heading size="jumbo">
      Jumbo
    </Heading>
  </DevseedUiThemeProvider>
Alternative title

Heading supports an alternative display style using useAlt

  <DevseedUiThemeProvider>
    <Heading useAlt>
      The alternative heading
    </Heading>
  </DevseedUiThemeProvider>

API Documentation

Heading

rows:
  - Prop name: "variant"
    Type: "oneOf ['base', 'primary', 'secondary']"
    Description: "Sets the style variant of the heading"
    Default value: "base"
  - Prop name: "size"
    Type: "oneOf ['small', 'medium', 'large', 'xlarge']"
    Description: "Sets the size variant of the heading"
    Default value: "medium"
  - Prop name: "className"
    Type: "string"
    Description: "Adds a className to the class attribute."
    Default value: ""
  - Prop name: "useAlt"
    Type: "boolean"
    Description: "Uses the alternative heading display"
    Default value: "false"

Keywords

FAQs

Package last updated on 17 Feb 2021

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