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

@ag.ds-next/box

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ag.ds-next/box

--- title: Box description: A set of primitive layout components group: Foundations ---

  • 4.1.0
  • npm
  • Socket score

Version published
Weekly downloads
25
decreased by-34.21%
Maintainers
2
Weekly downloads
 
Created
Source

title: Box description: A set of primitive layout components group: Foundations

This package includes the components <Box />, <Flex /> and <Stack />.

Box

<Box
	palette="dark"
	background="body"
	color="text"
	fontFamily="body"
	border
	padding={{ xs: 1, xl: 4 }}
	rounded
>
	A Box example
</Box>

Flex

Same principles as Box, but extended with CSS Flexbox properties.

<Flex gap={1} justifyContent="space-between" alignItems="flex-start">
	<Box background="shade" padding={1} />
	<Box background="shade" height="64px" padding={1} />
	<Box background="shade" padding={1} />
</Flex>

Stack

Use to distribute items vertically with even spacing.

<Stack gap={1}>
	<Box background="shade" padding={1} />
	<Box background="shade" padding={1} />
	<Box background="shade" padding={1} />
</Stack>

FAQs

Package last updated on 01 Apr 2022

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