Docs
Built-in Mdx Components

Built-in Mdx Components

git
git push

Tip

Here is a tip

Note

Here is a note

Warning

Here is a warning

Danger

Here is a danger

Here is a tip without title

Here is a note without title

Here is a note without title

Here is a danger without title

Run the following command:

Terminal
npx shadcn-ui@latest add accordion

Update tailwind.config.js

tailwind.config.js
/** @type {import('tailwindcss').Config} */
module.exports = {
  theme: {
    extend: {
      keyframes: {
        'accordion-down': {
          from: { height: '0' },
          to: { height: 'var(--radix-accordion-content-height)' }
        },
        'accordion-up': {
          from: { height: 'var(--radix-accordion-content-height)' },
          to: { height: '0' }
        }
      },
      animation: {
        'accordion-down': 'accordion-down 0.2s ease-out',
        'accordion-up': 'accordion-up 0.2s ease-out'
      }
    }
  }
}
Terminal
npm init
const a = 100
Copyright © 2024 heapup