.. INSPIRED FROM sphinx-design documentation ======================== Sphinx Design Components ======================== On this page, you will find user interface components such as badges, buttons, cards, and tabs. The components on this page are **not provided by PyData Theme**. They are provided by `Sphinx Design `_ (a Sphinx extension). This means that if you wish to use the components on this page, you must install Sphinx Design separately and add it to your `conf.py`. .. seealso:: To add the Sphinx Design extension to your Sphinx project, refer to `Sphinx Design - Getting Started `_. Contributors to both projects have worked to ensure compatible styling so that Sphinx Design components look and feel consistent with the PyData Theme. This page shows you how the Sphinx Design components would look on your site if you were to use them in combination with the PyData Theme. Sphinx Design also provides a `PyData-themed version of the Sphinx Design site `__; however, their site use an older version of this theme. Any customizations you make to the theme could affect how these components appear on your site. So what you see on this page might not match exactly what you see on your site even if your site uses this theme. .. _badges-buttons: Badges and button-links ======================= Here are some of the available badges: :bdg-primary:`primary` :bdg-secondary:`secondary` :bdg-success:`success` :bdg-primary-line:`primary outline` :bdg-secondary-line:`secondary outline` :bdg-success-line:`success outline` Here are some of the available button-style links, also using semantic colors: .. grid:: auto .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: info :shadow: Info .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: success :shadow: Success .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: warning :shadow: Warning .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: danger :shadow: Danger .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: muted :shadow: Muted .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: light :shadow: Light .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: dark :shadow: Dark .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: secondary :shadow: Secondary .. grid-item:: .. button-ref:: badges-buttons :ref-type: ref :color: primary :shadow: Primary .. note:: `Sphinx Design buttons `__ are actually links, meaning they are rendered in HTML with ```` tags instead of ``