Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@kaizen/draft-well

Package Overview
Dependencies
Maintainers
10
Versions
285
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaizen/draft-well

The draft well component

Source
npmnpm
Version
4.3.5
Version published
Weekly downloads
657
1.55%
Maintainers
10
Weekly downloads
 
Created
Source

title: "Well" navTitle: "Well" summaryParagraph: Wells are used as a visual container around secondary content. tags: ["Placeholder", "Content area", "Frame", "Card", "Group", "Box", "Container"] githubLabels: ["component:well"] needToKnow:

  • "For primary content, use a Card instead."
  • "Usually, wells are used in other components, such as Empty States and drag and drop file upload, instead of independently." demoStoryId: components-well--default-with-solid-border-kaizen-site-demo health: designed: true documented: true implemented: true latestDesign: true allVariants: true responsive: true internationalized: true accessible: true

import WhenToUseAndWhenNotToUse from "docs-components/WhenToUseAndWhenNotToUse" import WhenToUse from "docs-components/WhenToUse" import WhenNotToUse from "docs-components/WhenNotToUse"

UI Kit

Options

  • Mood:
    • Default
    • Positive
    • Informative
    • Cautionary
    • Negative
    • Assertive
    • Prominent
  • Border style:
    • Solid
    • Dashed
    • None

To keep in mind

  • We need boundaries to define or contextualize secondary content. Wells can provide a way to do this visually.
  • An Empty State Well defines an area that doesn’t currently have content, but could.
  • A Drag & Drop Well provides a visible target to drop content into.
  • An Internal Content Well helps to define, divide or shape content within a card.
  • An External Content Well wraps one or more cards or pieces of content into a group.

When to use and when not to use

  • Use a well for secondary content.
  • For primary content, use a Card instead.
  • Don’t use a well inside well (even if there is a card separating them).
  • Don’t use as a Notification.
  • Don’t use as a Tooltip.

Here are some examples of other existing design systems:

FAQs

Package last updated on 23 Mar 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