New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@piksl/box

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@piksl/box

- `` is a Styled Component that wraps the `` HTML-element and provides properties to change the styling of the element. More information about the available properties can be found in the API description below.

  • 1.1.0
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-90%
Maintainers
1
Weekly downloads
 
Created
Source

@piksl/box

  • <Box /> is a Styled Component that wraps the <div> HTML-element and provides properties to change the styling of the element. More information about the available properties can be found in the API description below.

API

Box

PropDescriptionTypeDefault
displayMinimum height of the <Container />inline, block, flex-
justifySets the distribution of space between and around <Box /> children items.flex-start, flex-end, center, space-between, space-around, space-evenly-
alignSets the destribution of space between and around <Box /> children items.flex-start, flex-end, center-
wrapDefines whether the flex items are inside <Box /> are forced in a single line or can be flowed into multiple lines.nowrap, wrap, wrap-reversenowrap
positionSets how the <Box /> is positionedstatic, relative, fixed, absolute, sticky-
marginSets the margin area on sides of the <Box />OffsetShorthandType-
paddingSets the padding area on sides of the <Box />OffsetShorthandType-
topDetermine the top location of positioned <Box />string-
rightDetermine the right location of positioned <Box />string-
bottomDetermine the bottom location of positioned <Box />string-
leftDetermine the left location of positioned <Box />string-
classnameThe classname of the <Box />string-

Types

OffsetType

number | "auto"

OffsetShorthandType

[OffsetType, OffsetType, OffsetType, OffsetType] |
[OffsetType, OffsetType, OffsetType] |
[OffsetType, OffsetType] |
[OffsetType]

FAQs

Package last updated on 09 Jul 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