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

@umbraco-ui/uui-box

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umbraco-ui/uui-box

A box web component for grouping elements

1.10.0-rc.0
Version published
Weekly downloads
670
-29.32%
Maintainers
0
Weekly downloads
 
Created

uui-box

npm

See it in action

Preview the component on Storybook

Installation

ES imports

npm i @umbraco-ui/uui-box

Import the registration of <uui-box> via:

import '@umbraco-ui/uui-box';

When looking to leverage the UUIBoxElement base class as a type and/or for extension purposes, do so via:

import { UUIBoxElement } from '@umbraco-ui/uui-box';

Usage

<uui-box headline="Headline"> Content </uui-box>

To specify a headline variant, eg. h2 then use the headline-variant attribute:

<uui-box headline="Headline" headline-variant="h2"> Content </uui-box>

FAQs

Package last updated on 10 Sep 2024

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