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

@hixme-ui/text

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hixme-ui/text

hixme-ui text component. For all your communictation needs.

  • 2.0.0-alpha.9
  • npm
  • Socket score

Version published
Weekly downloads
53
increased by47.22%
Maintainers
2
Weekly downloads
 
Created
Source

Text

npm i --save @hixme-ui/text

View it live

Usage

import Text, {
 TextLink,
 HyperLink,
 Paragraph,
 Label,
} from '@hixme-ui/text'

// text success
<Text success>I said good day sir!</Text>

// paragraph warning
<Text p warning>Are you sure?</Text>
<Paragraph warning>Are you sure?</Paragraph>

Props

CategoryNameType
Tags
abool
divbool
labelbool
pbool
States
defaultColorbool
primarybool
successbool
warningbool
errorbool
mutedbool
Colors
colorstring
whitebool
blackbool
redbool
bluebool
purplebool
yellowbool
greenbool
lightbool
lighterbool
Font Sizes
fontSizestring
defaultbool
smallestbool
smallerbool
smallbool
mediumbool
largebool
largerbool
jumbobool
Font Weights
fontWeightstring
thinnestbool
thinnerbool
thinbool
normalbool
boldbool
bolderbool
boldestbool
Text Align
leftbool
centerbool
rightbool
Text Decoration
dashedbool
Transforms
uppercasebool
lowercasebool
capitalizebool
Other
cursorstring
displaystring
fontFamilystring
hrefstring
justifyContentstring
lineHeightstring
onClickstring
textIndentstring
textOverflowstring
userSelectstring
whiteSpacestring
wordBreakstring

These components default to using the <a /> tag as it's rendered form. HyperLink goes one step further in defaulting to a cursor pointer and a default primary color

import { TextLink, HyperLink } from '@hixme-ui/text'

<TextLink href='#point1' />

<HyperLink href='https://goingsomewhere.com' />

Keywords

FAQs

Package last updated on 18 May 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