Socket
Book a DemoInstallSign in
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.2.0
latest
npmnpm
Version published
Maintainers
1
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 31 Dec 2023

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.