react-native-web-headroom
Version:
React Native Web Headroom
92 lines (64 loc) • 1.88 kB
Markdown
List of known SVG tag-names. Includes the elements from
[][svg11], [SVG Tiny 1.2][svgtiny12], and [SVG 2][svg2].
The repo contains a script to crawl specs to include newly introduced
tag-names.
[][]:
```bash
npm install svg-tag-names
```
```javascript
var svgTagNames = require('svg-tag-names');
svgTagNames.length; //=> 101
console.log(svgTagNames.slice(0, 20));
```
Yields:
```js
[ 'a',
'altGlyph',
'altGlyphDef',
'altGlyphItem',
'animate',
'animateColor',
'animateMotion',
'animateTransform',
'animation',
'audio',
'canvas',
'circle',
'clipPath',
'color-profile',
'cursor',
'defs',
'desc',
'discard',
'ellipse',
'feBlend' ]
```
`Array.<string>` — List of case-sensitive tag-names.
* [`html-tag-names`](https://github.com/wooorm/html-tag-names)
— List of HTML tags
* [`mathml-tag-names`](https://github.com/wooorm/mathml-tag-names)
— List of MathML tags
* [`svg-element-attributes`](https://github.com/wooorm/svg-element-attributes)
— Map of SVG elements to allowed attributes
* [`html-element-attributes`](https://github.com/wooorm/html-element-attributes)
— Map of HTML elements to allowed attributes
* [`aria-attributes`](https://github.com/wooorm/aria-attributes)
— List of ARIA attributes
[][license] © [Titus Wormer][author]
<!-- Definition -->
[]: https://img.shields.io/travis/wooorm/svg-tag-names.svg
[]: https://travis-ci.org/wooorm/svg-tag-names
[]: https://docs.npmjs.com/cli/install
[]: LICENSE
[]: http://wooorm.com
[]: https://www.w3.org/TR/SVG/eltindex.html
[]: https://www.w3.org/TR/SVGTiny12/elementTable.html
[]: https://www.w3.org/TR/SVG2/eltindex.html