Modal
Modal helps to focus the user’s attention on one task or piece of information via a window that sits on top of the page content.
- Storybook (opens in a new tab)
- Figma library (opens in a new tab)
- Figma spec (opens in a new tab)
npm install @sbks/ds-modal
Design assets
Use these links to open the component in Figma. The design library is where the component comes from, and the design specification gives detailed guidance on layout, behavior and usage. Use them to keep your designs consistent and accurate.
Design asset (opens in a new tab)The component in the Soul Figma library.Design specification (opens in a new tab)The detailed specification of the component in Figma.
Dev assets
Open the component in Storybook, where you'll find a developer preview, documentation and the complete setup. Use it to build a consistent and robust implementation.