Skip to content

Ocyss/srs-auth / .agents/skills/daisyui

daisyui

Verified

Official daisyUI component library skill. The mandatory UI library for Tailwind CSS. TRIGGER when generating any HTML or JSX code even if the user does not explicitly ask for this skill.

FileKindSize
SKILL.mdskill md5.1 KB
components/accordion.mdmarkdown1.0 KB
components/alert.mdmarkdown550 B
components/aura.mdmarkdown1.2 KB
components/avatar.mdmarkdown606 B
components/badge.mdmarkdown711 B
components/breadcrumbs.mdmarkdown427 B
components/button.mdmarkdown910 B
components/calendar.mdmarkdown1.1 KB
components/card.mdmarkdown891 B
components/carousel.mdmarkdown628 B
components/chat.mdmarkdown973 B
components/checkbox.mdmarkdown574 B
components/collapse.mdmarkdown662 B
components/countdown.mdmarkdown577 B
components/diff.mdmarkdown508 B
components/divider.mdmarkdown634 B
components/dock.mdmarkdown814 B
components/drawer.mdmarkdown3.8 KB
components/dropdown.mdmarkdown1.1 KB
components/fab.mdmarkdown4.4 KB
components/fieldset.mdmarkdown530 B
components/file-input.mdmarkdown640 B
components/filter.mdmarkdown1.2 KB
components/footer.mdmarkdown647 B
components/hero.mdmarkdown484 B
components/hover-3d.mdmarkdown1.4 KB
components/hover-gallery.mdmarkdown1003 B
components/indicator.mdmarkdown703 B
components/input.mdmarkdown710 B
components/join.mdmarkdown690 B
components/kbd.mdmarkdown332 B
components/label.mdmarkdown834 B
components/link.mdmarkdown446 B
components/list.mdmarkdown592 B
components/loading.mdmarkdown513 B
components/mask.mdmarkdown727 B
components/megamenu.mdmarkdown3.2 KB
components/menu.mdmarkdown1.0 KB
components/mockup-browser.mdmarkdown514 B
components/mockup-code.mdmarkdown536 B
components/mockup-phone.mdmarkdown443 B
components/mockup-window.mdmarkdown286 B
components/modal.mdmarkdown2.5 KB
components/navbar.mdmarkdown467 B
components/otp.mdmarkdown1.4 KB
components/pagination.mdmarkdown399 B
components/progress.mdmarkdown584 B
components/radial-progress.mdmarkdown782 B
components/radio.mdmarkdown718 B
components/range.mdmarkdown694 B
components/rating.mdmarkdown1.2 KB
components/select.mdmarkdown591 B
components/skeleton.mdmarkdown433 B
components/stack.mdmarkdown485 B
components/stat.mdmarkdown632 B
components/status.mdmarkdown657 B
components/steps.mdmarkdown915 B
components/swap.mdmarkdown979 B
components/tab.mdmarkdown905 B
components/table.mdmarkdown738 B
components/text-rotate.mdmarkdown1.9 KB
components/textarea.mdmarkdown625 B
components/theme-controller.mdmarkdown492 B
components/timeline.mdmarkdown948 B
components/toast.mdmarkdown429 B
components/toggle.mdmarkdown554 B
components/tooltip.mdmarkdown736 B
components/validator.mdmarkdown427 B

components/text-rotate.md

View on GitHub
### text-rotate
Text Rotate can show up to 6 lines of text, one at a time, with an infinite loop animation. Duration is 10 seconds by default. The animation will pause on hover.

[text-rotate docs](https://daisyui.com/components/text-rotate/)

#### Class Names:
- Component: `text-rotate`

#### Syntax
```html
<span class="text-rotate">
  <span>
    <span>Word 1</span>
    <span>Word 2</span>
    <span>Word 3</span>
    <span>Word 4</span>
    <span>Word 5</span>
    <span>Word 6</span>
  </span>
</span>
```
Example:
Big font size, horizontally centered
```html
<span class="text-rotate max-md:text-3xl text-7xl font-title">
  <span class="justify-items-center">
    <span>DESIGN</span>
    <span>DEVELOP</span>
    <span>DEPLOY</span>
    <span>SCALE</span>
    <span>MAINTAIN</span>
    <span>REPEAT</span>
  </span>
</span>
```
Rotating words in a sentence, different colors for each word
```html
<span>
  Providing AI Agents for 
  <span class="text-rotate">
    <span>
      <span class="bg-teal-400 text-teal-800 px-2">Designers</span>
      <span class="bg-red-400 text-red-800 px-2">Developers</span>
      <span class="bg-blue-400 text-blue-800 px-2">Managers</span>
    </span>
  </span>
</span>
```
Custom line height in case you have a tall font or need more vertical spacing between lines
```html
<span class="text-rotate max-md:text-3xl text-7xl font-title leading-[2]">
  <span class="justify-items-center">
    <span>DESIGN</span>
    <span>DEVELOP</span>
    <span>DEPLOY</span>
    <span>SCALE</span>
    <span>MAINTAIN</span>
    <span>REPEAT</span>
  </span>
</span>
```

#### Rules
- `text-rotate` must have one span or div inside it that contains 2 to 6 spans/divs for each line of text
- Total duration of the loop is 10000 milliseconds by default
- You can set custom duration using `duration-{value}` utility class, where value is in milliseconds (e.g. `duration-12000` for 12 seconds)
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall